forked from packt-cli/Packt-Publishing-Free-Learning
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (48 loc) · 1.5 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
import os
from setuptools import find_packages, setup
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as f:
long_description = f.read()
package_version = '1.5.4'
requirements = [
'click==7.1.1',
'google-api-python-client==1.8.0',
'oauth2client==4.1.3',
'requests==2.23.0',
'python-slugify==4.0.0'
]
dev_requirements = [
'bumpversion==0.5.3',
'mccabe==0.6.1',
'pycodestyle==2.5.0',
'pyflakes==2.2.0',
'pylama==7.7.1',
'twine<2; python_version < "3.6"',
'twine==3.1.1; python_version >= "3.6"'
]
setup(
name='packt',
version=package_version,
packages=find_packages(),
license='MIT',
description='Script for grabbing daily Packt Free Learning ebooks',
author='Łukasz Uszko',
author_email='[email protected]',
url='https://github.com/luk6xff/Packt-Publishing-Free-Learning',
long_description=long_description,
long_description_content_type='text/markdown',
py_modules=['packt'],
install_requires=requirements,
extras_require={'dev': dev_requirements},
entry_points={
'console_scripts': [
'packt-cli = packt.packtPublishingFreeEbook:packt_cli',
],
},
download_url='https://github.com/luk6xff/Packt-Publishing-Free-Learning/archive/v1.5.4.tar.gz',
classifiers=[
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8'
]
)