-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
35 lines (31 loc) · 1.06 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
import setuptools
with open("README.md", "r") as fh:
long_description = fh.read()
with open("VERSION", "r") as vr:
version_number = vr.read()
with open("requirements.txt", "r") as req:
requirements = []
for l in req.readlines():
requirements.append(l.rstrip())
setuptools.setup(
name="pip2spack",
version=version_number,
author="Nex Sabre",
author_email="[email protected]",
description="Automatically create and update a spack package base on the pypi.org information",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/NexSabre/pip2spack",
packages=setuptools.find_packages(),
package_data={"pip2spack": ["templates/*.j2"]},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.6",
install_requires=requirements,
entry_points={
"console_scripts": ["pip2spack = pip2spack.main.main:main"],
},
)