1
|
|
|
import setuptools |
2
|
|
|
|
3
|
|
|
with open("README.md") as f: |
4
|
|
|
long_description = f.read() |
5
|
|
|
|
6
|
|
|
# from sphinx.setup_command import BuildDoc |
7
|
|
|
# cmdclass = {'build_sphinx': BuildDoc} |
8
|
|
|
|
9
|
|
|
name = 'apoor' |
10
|
|
|
version = "1.3.2" |
11
|
|
|
release = version |
12
|
|
|
|
13
|
|
|
setuptools.setup( |
14
|
|
|
name=name, |
15
|
|
|
version=version, |
16
|
|
|
author="Austin Poor", |
17
|
|
|
author_email="[email protected]", |
18
|
|
|
description="A small personal package created to store code and data I often reuse.", |
19
|
|
|
long_description=long_description, |
20
|
|
|
long_description_content_type="text/markdown", |
21
|
|
|
url="https://github.com/a-poor/apoor", |
22
|
|
|
packages=setuptools.find_packages(), |
23
|
|
|
include_package_data=True, |
24
|
|
|
classifiers=[ |
25
|
|
|
"Programming Language :: Python :: 3.6", |
26
|
|
|
"Programming Language :: Python :: 3.7", |
27
|
|
|
"Programming Language :: Python :: 3.8", |
28
|
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)", |
29
|
|
|
"Operating System :: OS Independent", |
30
|
|
|
"Development Status :: 5 - Production/Stable", |
31
|
|
|
], |
32
|
|
|
install_requires=[ |
33
|
|
|
"numpy", |
34
|
|
|
"pandas", |
35
|
|
|
], |
36
|
|
|
python_requires=">=3.6", |
37
|
|
|
zip_safe=False, |
38
|
|
|
# command_options={ |
39
|
|
|
# 'build_sphinx': { |
40
|
|
|
# 'project': ('setup.py', name), |
41
|
|
|
# 'version': ('setup.py', version), |
42
|
|
|
# 'release': ('setup.py', release), |
43
|
|
|
# 'source_dir': ('setup.py', 'doc')}}, |
44
|
|
|
) |
45
|
|
|
|
46
|
|
|
|
47
|
|
|
|