forked from pyexcel-webwares/Flask-Excel
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
57 lines (52 loc) · 1.95 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
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
with open("README.rst", 'r') as readme:
README_txt = readme.read()
with open("requirements.txt", 'r') as requirements_txt:
lines = requirements_txt.readlines()
lines = map(lambda x: x.rstrip(), lines)
dependencies = lines
with open("VERSION", "r") as version:
version_txt = version.read().rstrip()
extras = {
'xls': ['pyexcel-xls>=0.0.7'],
'xlsx': ['pyexcel-xlsx>=0.0.7'],
'ods3': ['pyexcel-ods3>=0.0.10']
}
setup(
name='Flask-Excel',
author="C. W.",
version=version_txt,
author_email="[email protected]",
url="https://github.com/chfw/Flask-Excel",
description='A flask extension that provides one application programming interface to read and write data in different excel file formats',
install_requires=dependencies,
extras_require=extras,
packages=find_packages(exclude=['ez_setup', 'examples', 'tests']),
include_package_data=True,
long_description=README_txt,
zip_safe=False,
tests_require=['nose'],
keywords=['API', 'Flask', 'Excel', 'pyexcel', 'xls', 'xlsx', 'ods', 'csv'],
license='New BSD',
classifiers=[
'Development Status :: 3 - Alpha',
'Environment :: Web Environment',
'Topic :: Internet :: WWW/HTTP',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python',
'License :: OSI Approved :: BSD License',
'Intended Audience :: Developers',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: Implementation :: PyPy'
]
)