forked from sysr-q/flask-themes2
-
Notifications
You must be signed in to change notification settings - Fork 5
/
setup.py
60 lines (49 loc) · 1.51 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
# Fix for older setuptools
import os
import sys
__version__ = '0.1.4'
__author__ = "Bruno Rocha"
__email__ = "[email protected]"
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
def fpath(name):
return os.path.join(os.path.dirname(__file__), name)
def read(fname):
if sys.version_info.major != 3:
with open(fpath(fname), 'rb') as f:
return f.read()
else:
with open(fpath(fname)) as f:
return f.read()
def desc():
return read('README.rst')
setup(
name="Quokka-Themes",
version=__version__,
url='https://github.com/pythonhub/quokka-themes',
license='MIT',
author=__author__,
author_email=__email__,
description='Provides infrastructure for theming Quokka applications',
keywords="flask themes theming style",
long_description=desc(),
packages=find_packages(),
include_package_data=True,
zip_safe=False,
platforms='any',
install_requires=["Flask>=0.6", "simplejson"],
tests_require=["nose"],
test_suite="nose.collector",
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
]
)