-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
56 lines (48 loc) · 1.5 KB
/
setup.py
File metadata and controls
56 lines (48 loc) · 1.5 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
import os
import re
import setuptools
NAME = "MatPlus"
AUTHOR = "Dhyey Mavani, Liam Davis, Ryan Ji, Surya Rao, Weixin Lin"
AUTHOR_EMAIL = "davisliam123@gmail.com"
DESCRIPTION = "This package is for easy, convenient plotting in Python."
LICENSE = "MIT"
KEYWORDS = "Plotting Python Matplotlib"
URL = "https://github.com/ac-i2i-engineering/" + NAME
README = "PYPI_README.md"
CLASSIFIERS = [
"Programming Language :: Cython",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
INSTALL_REQUIRES = ["matplotlib", "numpy", "pandas"]
ENTRY_POINTS = {}
SCRIPTS = []
HERE = os.path.dirname(__file__)
def read(file):
with open(os.path.join(HERE, file), "r") as fh:
return fh.read()
VERSION = re.search(
r'__version__ = [\'"]([^\'"]*)[\'"]', read(NAME.replace("-", "_") + "/__init__.py")
).group(1)
LONG_DESCRIPTION = read(README)
if __name__ == "__main__":
setuptools.setup(
name=NAME,
version=VERSION,
packages=setuptools.find_packages(),
author=AUTHOR,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
license=LICENSE,
keywords=KEYWORDS,
url=URL,
classifiers=CLASSIFIERS,
install_requires=INSTALL_REQUIRES,
entry_points=ENTRY_POINTS,
scripts=SCRIPTS,
include_package_data=True,
python_requires=">=3.8",
)