-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·41 lines (35 loc) · 1.24 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
#!/usr/bin/env python
import setuptools
import os
from setuptools import setup
def get_version(path):
with open(path, "r") as f:
_, version = f.read().strip().split("=")
version = version.strip().strip('"')
return version
installations = ['numpy', 'pandas', 'matplotlib', 'adjustText', 'scipy', 'ete3',
'seaborn', 'stemgraphic', 'statsmodels', 'plotly', 'pymdown-extensions', 'mkdocs', 'mkdocs-material', 'sympy', 'mplfinance']
with open("README.md", "r") as fh:
long_description = fh.read()
setuptools.setup(
name="mgt2001",
version=get_version(os.path.join(
".", # os.path.dirname(os.path.realpath(__file__)),
"mgt2001",
"_version.py",
)),
author="Brian L. Chen",
author_email="brian.lxchen@gmail.com",
description="A small package for MGT 2001 and MGT 2002 use only",
long_description_content_type="text/markdown",
url="https://github.com/icheft/mgt2001",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires='>=3.6',
install_requires=installations,
include_package_data=True,
)