-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
32 lines (27 loc) · 1.02 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
# pylint:disable=missing-module-docstring
from setuptools import setup, find_packages
__author__ = 'UKFast'
__email__ = '[email protected]'
__copyright__ = 'Copyright (c) 2020 UKFast'
__license__ = 'MIT'
__url__ = 'https://github.com/ukfast/sdk-python'
__download_url__ = 'https://pypi.python.org/ukfast/sdk-python'
__description__ = 'Python interface for the UKFast API.'
exclusions = ["*.tests", "*.tests.*", "tests.*", "tests"]
with open('VERSION', 'r') as version_file:
version = version_file.read().strip()
with open('requirements.txt', 'r') as requirements_file:
requirements = [requirement for requirement in requirements_file.read().split('\n')
if len(requirement)]
setup(
name="UKFastAPI",
author=__author__,
author_email=__email__,
url=__url__,
description=__description__,
version=version,
install_requires=requirements,
packages=find_packages(exclude=exclusions),
data_files=[('', ['VERSION', 'requirements.txt', 'setup.py'])],
include_package_data=True,
)