-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
61 lines (53 loc) · 2.07 KB
/
setup.py
File metadata and controls
61 lines (53 loc) · 2.07 KB
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
import os
from setuptools import setup, find_packages
with open("README.md", "r") as fh:
long_description = fh.read()
def find_requires():
requirements = []
dir_path = os.path.dirname(os.path.relpath(__file__))
with open(f'{dir_path}requirements.txt') as f:
requirements = f.readlines()
return requirements
if __name__ == "__main__":
ver = '0.1.1'
setup(
name='spb',
version=ver,
url='https://github.com/patsuckow/spb',
download_url=f'https://github.com/patsuckow/spb/archive/{ver}.tar.gz',
description='Simple Progress Bar',
long_description=long_description,
long_description_content_type="text/markdown",
keywords=[
'progress', 'progress bar', 'progressbar', 'progress indicator',
'percent indicator', 'progressmeter', 'timer indicator', 'eta',
'data rate indicator', 'transmitted data indicator', 'terminal',
'console progress', 'console', 'bar', 'meter', 'rate',
],
license='GNU General Public License v3 (GPLv3)',
author='Alexey Patsukov 🇷🇺',
author_email='patsuckow@yandex.ru',
packages=find_packages(exclude=[
'*.tests', '*.tests.*', 'tests',
'*.examples', '*.examples.*', 'examples',
'*..github', '*..github.*', '.github'
]),
include_package_data=True,
zip_safe=False,
install_requires=find_requires(),
setup_requires=[],
test_suite='tests',
classifiers=[
# As in https://pypi.python.org/pypi?:action=list_classifiers
'Development Status :: 4 - Beta',
'Environment :: Console',
'Operating System :: OS Independent',
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
'Intended Audience :: Developers',
'Intended Audience :: System Administrators',
"Topic :: Software Development :: Libraries",
'Topic :: Utilities',
],
python_requires='>=3.6',
)