forked from neurospin/point-cloud-pattern-mining
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
27 lines (24 loc) · 834 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
27
import setuptools
import os
with open("README.md", "r") as fh:
long_description = fh.read()
release_info = {}
python_dir = os.path.dirname(__file__)
with open(os.path.join(python_dir, "pcpm", "info.py")) as f:
code = f.read()
exec(code, release_info)
setuptools.setup(
name=release_info['NAME'],
version=release_info['__version__'],
description=release_info['DESCRIPTION'],
author=release_info['AUTHOR'],
author_email=release_info['AUTHOR_EMAIL'],
long_description=long_description,
long_description_content_type="text/markdown",
url=release_info['URL'],
packages=release_info['PROVIDES'],
install_requires=release_info["REQUIRES"],
classifiers=release_info["CLASSIFIERS"],
python_requires=release_info['PYTHON_REQUIRES'],
entry_points=release_info['ENTRYPOINTS'],
)