1
0
mirror of https://github.com/linkedin/oncall.git synced 2025-11-26 23:10:47 +02:00

Add more metadata to setup.py so it shows up on pypi

This commit is contained in:
James Won
2020-01-24 15:46:45 -08:00
parent 7cb9528111
commit 88809d7911

View File

@@ -7,9 +7,22 @@ import re
with open('src/oncall/__init__.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]', fd.read(), re.MULTILINE).group(1)
with open('README.md', 'r') as fd:
long_description = fd.read()
setuptools.setup(
name='oncall',
version=version,
description='Oncall is a calendar tool designed for scheduling and managing on-call shifts',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/linkedin/oncall',
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Programming Language :: Python :: 3'
],
package_dir={'': 'src'},
packages=setuptools.find_packages('src'),
include_package_data=True,