-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
55 lines (46 loc) · 1.33 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
from setuptools import find_packages
from setuptools import setup
from setuptools.command.test import test
import os
def read_file(name):
with open(os.path.join(os.path.dirname(__file__), name)) as f:
return f.read()
version = '0.8.dev0'
shortdesc = 'jQuery File Upload integration for cone.app'
longdesc = '\n\n'.join([read_file(name) for name in [
'README.rst',
'CHANGES.rst',
'LICENSE.rst'
]])
class Test(test):
def run_tests(self):
from cone.fileupload import tests
tests.run_tests()
setup(
name='cone.fileupload',
version=version,
description=shortdesc,
long_description=longdesc,
classifiers=[
'Environment :: Web Environment',
'Programming Language :: Python',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
],
keywords='node pyramid cone web',
author='Cone Contributors',
author_email='[email protected]',
url='http://github.com/conestack/cone.fileuplaod',
license='Simplified BSD',
packages=find_packages('src'),
package_dir={'': 'src'},
namespace_packages=['cone'],
include_package_data=True,
zip_safe=False,
install_requires=[
'setuptools',
'cone.app>=1.0.3',
],
extras_require=dict(test=['zope.testrunner']),
tests_require=['zope.testrunner'],
cmdclass=dict(test=Test)
)