forked from swansonk14/typed-argument-parser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
50 lines (45 loc) · 1.5 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
import os
from setuptools import find_packages, setup
# Load version number
__version__ = None
src_dir = os.path.abspath(os.path.dirname(__file__))
version_file = os.path.join(src_dir, 'tap', '_version.py')
with open(version_file) as fd:
exec(fd.read())
# Load README
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
setup(
name='typed-argument-parser',
version=__version__,
author='Jesse Michel and Kyle Swanson',
author_email='jessem.michel@gmail.com, swansonk.14@gmail.com',
description='Typed Argument Parser',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/swansonk14/typed-argument-parser',
download_url=f'https://github.com/swansonk14/typed-argument-parser/archive/refs/tags/v_{__version__}.tar.gz',
license='MIT',
packages=find_packages(),
package_data={'tap': ['py.typed']},
install_requires=[
'typing_extensions >= 3.7.4',
'typing-inspect >= 0.7.1'
],
tests_require=['pytest'],
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
"Typing :: Typed"
],
keywords=[
'typing',
'argument parser',
'python'
]
)