-
Notifications
You must be signed in to change notification settings - Fork 2
/
setup.py
executable file
·74 lines (54 loc) · 1.27 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#!/usr/bin/env python
'''
Setup script to create a pip/pypi package via setuptools.
'''
from setuptools import find_packages, setup
with open('requirements.txt') as f:
requirements = f.read().strip().split('\n')
with open('requirements-dev.txt') as f:
requirements_dev = f.read().strip().split('\n')
setup(
#
# Package informations
#
name='podload',
description='A rather simple podcast download tool.',
long_description=open('README.md').read(),
long_description_content_type='text/markdown',
use_scm_version=True,
author='Dominique Barton',
license='MIT',
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
],
#
# Package content
#
packages=find_packages(
include=[
'podload',
],
exclude=[
'tests',
'tests.*',
]
),
entry_points={
'console_scripts': [
'podload=podload:main'
]
},
#
# Requirements
#
python_requires='>=3.8',
setup_requires=[
'setuptools_scm',
],
install_requires=requirements,
extras_require={
'dev': requirements_dev
},
)