-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (27 loc) · 776 Bytes
/
setup.py
File metadata and controls
33 lines (27 loc) · 776 Bytes
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
from setuptools import setup, find_packages
from setuptools.command.install import install
import os
NAME = "gpu_array"
VERSION = "0.0"
class InstallScript(install):
def run(self):
install.run(self)
with open("requirements.txt", "r") as f:
install_requires = list(
filter(lambda x: "#" not in x, (line.strip() for line in f))
)
setup(
name=NAME,
version=VERSION,
author="Nick Charron",
author_email="charron.nicholas.e@gmail.com",
url="https://github.com/nec4/overgpu",
license="MIT",
packages=find_packages(),
install_requires=install_requires,
zip_safe=True,
cmdclass={"install": InstallScript},
entry_points={
"console_scripts": ["gpu-array = gpu_array.scripts.__main__:main"],
},
)