forked from danjac/pyramid_storage
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
82 lines (70 loc) · 1.89 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
"""
Links
`````
* `documentation
<http://pythonhosted.org/pyramid_storage/>`_
* `development version
<https://github.com/danjac/pyramid_storage>`_
"""
from setuptools import setup, Command
class PyTest(Command):
user_options = []
def initialize_options(self):
pass
def finalize_options(self):
pass
def run(self):
import sys
import subprocess
errno = subprocess.call([sys.executable, 'runtests.py'])
raise SystemExit(errno)
docs_extras = [
'Sphinx',
'docutils',
'repoze.sphinx.autointerface',
]
tests_require = [
'pytest',
'mock',
]
setup(
name='pyramid_storage',
cmdclass={'test': PyTest},
version='1.0.1.dev0',
license='BSD',
author='Dan Jacob',
author_email='danjac354@gmail.com',
description='File storage package for Pyramid',
long_description=__doc__,
url='https://github.com/danjac/pyramid_storage/',
packages=[
'pyramid_storage',
],
zip_safe=False,
platforms='any',
install_requires=[
'pyramid',
],
tests_require=tests_require,
extras_require={
'docs': docs_extras,
's3': ['boto'],
'gcloud': ['google-cloud-storage'],
},
test_suite='pyramid_storage',
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Topic :: Communications :: Email',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: Implementation :: CPython',
'Programming Language :: Python :: Implementation :: PyPy',
'Framework :: Pyramid',
]
)