-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
55 lines (54 loc) · 1.4 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
51
52
53
54
import codecs
import os
import re
from setuptools import setup, find_packages
"""
git tag {VERSION}
git push --tags
python setup.py sdist
python setup.py bdist_wheel --universal
twine upload dist/*
"""
def read(*parts):
with codecs.open(os.path.join(HERE, *parts), 'r') as fp:
return fp.read()
def find_version(*file_paths):
version_file = read(*file_paths)
version_match = re.search(r"^__version__ = ['\"]([^'\"]*)['\"]",
version_file, re.M)
if version_match:
return version_match.group(1)
else:
return "UNKNOWN"
HERE = os.path.abspath(os.path.dirname(__file__))
VERSION = find_version("neuvueclient", "version.py")
setup(
name="neuvueclient",
version=VERSION,
author="Jordan Matelsky",
author_email="[email protected]",
description=("Python client for neuvuequeue"),
license="Apache 2.0",
keywords="",
url="https://github.com/aplbrain/neuvueclient/tarball/" + VERSION,
packages=find_packages(),
install_requires=[
"matplotlib",
"networkx",
"pandas",
"requests",
"typing",
"typing-extensions",
],
extras_require={
"dev": [
"pylint",
"mypy",
]
},
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'Programming Language :: Python :: 3',
]
)