-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathsetup.py
39 lines (30 loc) · 1.22 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
import os
import setuptools
module_path = os.path.join(os.path.dirname(__file__), 'flask_admin_s3_upload.py')
version_line = [line for line in open(module_path)
if line.startswith('__version__')][0]
__version__ = version_line.split('__version__ = ')[-1][1:][:-2]
setuptools.setup(
name="flask-admin-s3-upload",
version=__version__,
url="https://github.com/Jaza/flask-admin-s3-upload",
author="Jeremy Epstein",
author_email="jazepstein@gmail.com",
description="Field types for allowing file and image uploads to Amazon S3 (as well as default local storage) in Flask-Admin.",
long_description=open('README.rst').read(),
py_modules=['flask_admin_s3_upload'],
zip_safe=False,
platforms='any',
install_requires=['Flask-Admin', 'url-for-s3', 'boto'],
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
],
)