-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsetup.py
More file actions
71 lines (64 loc) · 1.61 KB
/
setup.py
File metadata and controls
71 lines (64 loc) · 1.61 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
62
63
64
65
66
67
68
69
70
71
import sys
from setuptools import setup, find_packages
try:
from semantic_release import setup_hook
setup_hook(sys.argv)
except ImportError:
message = "Unable to locate 'semantic_release', releasing won't work"
print(message, file=sys.stderr)
version = '2.1.0'
install_requires = [
'pelican',
'ghp-import',
'lxml',
'pillow',
'python-slugify',
'click',
'markdown',
'colorama',
'requests',
'flake8', # intentionally also here - used by 'blog lint'
'pytz',
]
tests_require = [
'pytest-runner',
'pytest>=3.6',
'pytest-cov',
'coveralls',
'flake8',
]
release_requires = [
'python-semantic-release',
]
setup(
name='danube-delta',
version=version,
description='Honza Javorek\'s Pelican setup',
long_description=open('README.rst').read(),
author='Honza Javorek',
author_email='mail@honzajavorek.cz',
url='http://github.com/honzajavorek/danube-delta',
license='MIT',
packages=find_packages(),
include_package_data=True,
install_requires=install_requires,
tests_require=tests_require,
extras_require={
'tests': tests_require,
'release': release_requires,
},
entry_points={
'console_scripts': [
'blog = danube_delta.cli:blog'
]
},
classifiers=(
'Environment :: Console',
'Operating System :: OS Independent',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3 :: Only',
),
keywords='pelican blog',
)