-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
35 lines (28 loc) · 1.07 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 os
import setuptools
PROJECT_ROOT = os.path.abspath(os.path.dirname(__file__))
def load_requirements(filename):
"""Docs? Contribution is welcome."""
with open(os.path.join(PROJECT_ROOT, filename), "r") as f:
return f.read().splitlines()
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()
setuptools.setup(
name="compressors", # Replace with your own username
version="0.0.1",
author="Example Author",
author_email="author@example.com",
description="A small example package",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/elephantmipt/compressors",
project_urls={"Bug Tracker": "https://github.com/elephantmipt/compressors/issues",},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
install_requires=load_requirements("requirements.txt"),
packages=setuptools.find_packages(),
python_requires=">=3.6",
)