-
Notifications
You must be signed in to change notification settings - Fork 20
/
setup.py
44 lines (41 loc) · 1.34 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
import os.path
from setuptools import setup
here = os.path.dirname(__file__)
readme_path = os.path.join(here, 'README.rst')
readme = open(readme_path, 'rb').read().decode('utf-8')
setup(
name='pytypes',
use_scm_version={
'version_scheme': 'post-release',
'local_scheme': 'dirty-tag'
},
description='Typing toolbox for Python 3 _and_ 2.',
long_description=readme,
url='https://github.com/Stewori/pytypes',
author='Stefan Richthofer',
author_email='[email protected]',
license='Apache-2.0',
packages=['pytypes'],
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
],
setup_requires=['setuptools_scm'],
extras_require={
':python_version == "2.7"': 'typing'
},
entry_points={
'console_scripts': [
'typestubs = pytypes.stubfile_2_converter:main'
]
}
)