-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsetup.py
37 lines (31 loc) · 1.12 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
import os
import setuptools
current_dir = os.path.dirname(os.path.abspath("__file__"))
# Get the long description from the README file
with open(os.path.join(current_dir, "README.md"), encoding="utf-8") as f:
long_description = f.read()
# What packages are required for this module to be executed?
try:
with open(os.path.join(current_dir, "requirements.txt"), encoding="utf-8") as f:
required = f.read().split("\n")
except FileNotFoundError:
required = []
setuptools.setup(
name="stabilizer",
version="1.0.2",
author="flowerpot-ai",
author_email="[email protected]",
description="Stabilize and achieve excellent performance with transformers",
long_description_content_type="text/markdown",
long_description=long_description,
url="https://github.com/flowerpot-ai/stabilizer",
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
],
python_requires=">=3.7",
install_requires=required,
include_package_data=True,
)