-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
41 lines (36 loc) · 1.36 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
36
37
38
39
40
41
"""A setuptools setup module for import_tracker"""
# Standard
import os
# Third Party
from setuptools import setup
# Read the README to provide the long description
python_base = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(python_base, "README.md"), "r") as handle:
long_description = handle.read()
# Read version from the env
version = os.environ.get("RELEASE_VERSION")
assert version is not None, "Must set RELEASE_VERSION"
setup(
name="import_tracker",
version=version,
description="A tool for managing dependencies in a modular python "
"project by tracking which dependencies are needed by which sub-modules",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/IBM/import-tracker",
author="Gabe Goodhart",
author_email="[email protected]",
license="MIT",
classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
keywords=["import", "importlib", "dependencies"],
packages=["import_tracker"],
)