-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
34 lines (28 loc) · 925 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
28
29
30
31
32
33
34
#!/usr/bin/env python
from setuptools import find_namespace_packages, setup
from setuptools.command.develop import develop
from setuptools.command.install import install
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt") as f:
requirements = f.read().splitlines()
class PostInstallDependencies(install):
def run(self):
install.run(self)
setup(
name="codegenome",
version="0.0.1",
description="Code Genome framework",
url="https://research.ibm.com/",
author="IBM Research",
author_email="[email protected]",
classifiers=[
"Programming Language :: Python :: 3",
"Operating System :: OS Independent",
],
packages=find_namespace_packages(include=["codegenome*"]),
scripts=["scripts/cg"],
python_requires=">=3.8",
install_requires=requirements,
mdclass={"install": PostInstallDependencies},
)