-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·36 lines (30 loc) · 1.16 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
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
from setuptools import find_packages, setup
settings = dict()
root_path = os.path.dirname(os.path.realpath(__file__))
with open(f"{root_path}/fastkit/__info__.py", "r",
encoding="utf-8") as version:
setup_info = version.read()
exec(setup_info)
with open(f"{root_path}/README.md", "r") as file_readme:
readme = file_readme.read()
with open(f"{root_path}/requirements.txt", "r") as file_requirements:
requirements = file_requirements.read().splitlines()
settings.update(name=__package_name__,
version=__version__,
description=__title__,
include_package_data=False,
long_description_content_type="text/markdown",
long_description=readme,
author=__author__,
author_email=__author_email__,
license=__license__,
url=__url__,
packages=find_packages(),
python_requires=__python_requires__,
install_requires=requirements,
zip_safe=True,
classifiers=__classifiers__)
setup(**settings)