forked from mktranstrum/MBAM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
39 lines (33 loc) · 1.1 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
#!/usr/bin/env python
import setuptools
import re
# List of dependecy packages
with open("requirements.txt") as f:
install_requires = [line.strip() for line in f.readlines()]
# Find packages
packages = setuptools.find_packages(exclude=["examples"])
# Description of the package
description = "Model reduction by Manifold Boundary Approximation Method"
with open("README.md") as f:
lines = f.readlines()
description = lines[1].strip()
long_description = "".join(lines)
# Get the current version number
with open("mbam/__init__.py") as fd:
version = re.search('__version__ = "(.*)"', fd.read()).group(1)
setuptools.setup(
name="mbam",
version=version,
author="Mark K. Transtrum",
author_email="[email protected]",
maintainer="Yonatan Kurniawan",
maintainer_email="[email protected]",
url="https://github.com/mktranstrum/MBAM",
description=description,
long_description=long_description,
install_requires=install_requires,
packages=packages,
classifiers=["Programming Language :: Python :: 3"],
include_package_data=True,
python_requires=">=3.6",
)