-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
26 lines (24 loc) · 938 Bytes
/
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
import io, re, os
from setuptools import setup
from setuptools import find_packages
package_name = "mpcite"
init_py = io.open("{}/__init__.py".format(package_name)).read()
metadata = dict(re.findall("__([a-z]+)__ = '([^']+)'", init_py))
metadata["doc"] = re.findall('"""(.+)"""', init_py)[0]
SETUP_PTH = os.path.dirname(os.path.abspath(__file__))
setup(
name=package_name,
version="1.0.0",
description=metadata["doc"],
python_requires=">3.6.2",
author="Patrick Huck & Michael Wu",
author_email="[email protected]",
url="https://github.com/materialsproject/MPCite",
packages=find_packages(),
license="MIT",
keywords=["materials", "citation", "framework", "digital object identifiers"],
# scripts=glob.glob(os.path.join(SETUP_PTH, "scripts", "*")),
entry_points={"console_scripts": ["mpcite=mpcite.main:main"]},
include_package_data=True,
package_data={"": ["Visualizations.ipynb"]},
)