-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
46 lines (43 loc) · 1.35 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
"""
Flask-PicoCMS
--------------
Lightweight CMS backend for Flask apps.
"""
import re
from setuptools import setup
with open('flask_picocms.py', 'r') as f:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
f.read(), re.MULTILINE).group(1)
setup(
name='Flask-PicoCMS',
version=version,
url='https://github.com/johnwilson/picocms',
license='MIT',
author='John K.E. Wilson',
author_email='wilsonfiifi@gmail.com',
description='Lightweight CMS backend for Flask apps',
long_description=__doc__,
py_modules=['flask_picocms'],
zip_safe=False,
include_package_data=True,
platforms='any',
download_url='https://github.com/johnwilson/picocms/archive/v%s.tar.gz' % version,
keywords=['flask', 'cms'],
install_requires=[
"Flask",
"peewee==2.10.2",
"toml==0.9.2"
],
test_suite="tests",
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 3',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules'
]
)