forked from brettcannon/caniusepython3
-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
49 lines (43 loc) · 1.77 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
from setuptools import setup
import os
# Installed name used for various commands (both script and setuptools).
command_name = os.environ.get('CIU_ALT_NAME') or 'caniusepypy'
with open('README.rst') as file:
long_description = file.read()
with open('dev_requirements.txt') as file:
tests_require = [dep.strip() for dep in file.readlines()]
setup(name='caniusepypy',
version='1.0.0',
description='Determine what projects are blocking you from porting to PyPy',
long_description=long_description,
author='Alex Stapleton',
author_email='[email protected]',
url='https://github.com/public/caniusepypy',
packages=['caniusepypy', 'caniusepypy.test'],
include_package_data=True,
install_requires=['distlib', 'setuptools', 'pip', # Input flexibility
'argparse', 'futures'], # Functionality
tests_require=tests_require, # Testing, external due to Travis
test_suite='caniusepypy.test',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Console',
'Intended Audience :: Developers',
'License :: OSI Approved :: Apache Software License',
'Programming Language :: Python :: Implementation :: PyPy',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
],
entry_points={
'console_scripts': [
'{0} = caniusepypy.__main__:main'.format(command_name),
],
'distutils.commands': [
'{0} = caniusepypy.command:Command'.format(command_name),
],
},
zip_safe=True,
)