-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
59 lines (49 loc) · 1.71 KB
/
setup.py
File metadata and controls
59 lines (49 loc) · 1.71 KB
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
51
52
53
54
55
56
57
58
59
from __future__ import absolute_import
from setuptools import setup
import os
NAME = 'autoqubo'
INFO = '_package_info.py'
README = 'README.md'
class PackageInfo(object):
def __init__(self, info_file):
with open(info_file) as f:
exec(f.read(), self.__dict__)
self.__dict__.pop('__builtins__', None)
def __getattribute__(self, name):
return super(PackageInfo, self).__getattribute__(name)
package_info = PackageInfo(os.path.join(NAME, INFO))
install_requires = [
'numpy>=1.14.0,<2.0.0',
'sympy',
'typing-extensions'
]
packages = [NAME]
python_requires = '!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*'
setup(
name=package_info.__package_name__,
version=package_info.__version__,
description=package_info.__description__,
long_description=open(README).read(),
long_description_content_type='text/markdown',
author=package_info.__contact_names__,
author_email=package_info.__contact_emails__,
maintainer=package_info.__contact_names__,
maintainer_email=package_info.__contact_emails__,
url=package_info.__repository_url__,
# download_url=package_info.__download_url__,
license=package_info.__license__,
packages=packages,
keywords=package_info.__keywords__,
install_requires=install_requires,
include_package_data=True,
python_requires=python_requires,
classifiers=[
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'License :: OSI Approved :: BSD License',
],
)