forked from avelino/liquidluck
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (50 loc) · 1.68 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
from setuptools import setup
import liquidluck
from email.utils import parseaddr
kwargs = {}
major, minor = sys.version_info[:2]
if major >= 3:
kwargs['use_2to3'] = True
install_requires = [
'Jinja2', 'Pygments', 'misaka==1.0.2', 'docopt', 'PyYAML', 'docutils'
]
author, author_email = parseaddr(liquidluck.__author__)
setup(
name='liquidluck',
version=liquidluck.__version__,
author=author,
author_email=author_email,
url=liquidluck.__homepage__,
packages=['liquidluck', 'liquidluck.writers', 'liquidluck.readers',
'liquidluck.tools'],
description='A lightweight static weblog generator',
long_description=open('README.rst').read(),
license='BSD License',
entry_points={
'console_scripts': ['liquidluck= liquidluck.cli:main'],
},
install_requires=install_requires,
include_package_data=True,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'License :: OSI Approved :: BSD License',
'Operating System :: MacOS',
'Operating System :: POSIX',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Topic :: Text Processing :: Markup',
],
**kwargs
)