-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathsetup.py
42 lines (38 loc) · 1.27 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
from setuptools import setup, find_packages
import sys
version = '1.9.0'
f = open('README.rst')
long_description = f.read()
f.close()
requires = ['six']
if sys.version_info[0] == 2:
if sys.version_info[1] in (4, 5):
requires.append('simplejson < 2.0.10')
setup(name='quantumrandom',
version=version,
description="A Python interface to the ANU Quantum Random Numbers Server",
long_description=long_description,
classifiers=[
'Development Status :: 5 - Production/Stable',
'License :: OSI Approved :: MIT License',
'Topic :: Scientific/Engineering :: Mathematics',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
],
keywords='quantum random',
author='Luke Macken',
author_email='[email protected]',
url='http://github.com/lmacken/quantumrandom',
license='MIT',
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
zip_safe=True,
install_requires=requires,
test_suite='nose.collector',
tests_require=['nose', 'mock'],
entry_points="""
[console_scripts]
qrandom = quantumrandom.cmd:main
qrandom-dev = quantumrandom.dev:main
""",
)