-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
78 lines (65 loc) · 1.69 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
#! /usr/bin/env python
from distribute_setup import use_setuptools
use_setuptools()
import os
__version__ = "0.1"
from commands import getstatusoutput
from glob import glob
from os.path import abspath, dirname, exists, join as pjoin
from setuptools import setup, find_packages
here = abspath(dirname(__file__))
README = open(pjoin(here, 'README.md')).read()
CHANGES = open(pjoin(here, 'CHANGES.txt')).read()
requires = [
# Basic requirements
'pyramid>=1.3',
'pyramid_debugtoolbar',
'waitress',
'Paste',
'PasteScript',
'PasteDeploy',
'WebError',
# File mimetype detection
'filemagic',
'rootpy',
# Database
# 'pymongo',
# Used to run mongo and determine when it started
# 'pexpect',
# OpenAuth (currently unused
# 'velruse',
# Used to host HTTPs servers
# 'pyOpenSSL',
# Markdown format rendering
'markdown',
]
setup(
name='WebOOT',
version=__version__,
description='WebOOT',
long_description=README + '\n\n' + CHANGES,
classifiers=[
"Programming Language :: Python",
"Framework :: Pylons",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
],
author='the rootpy developers',
author_email='[email protected]',
url='https://weboot.cern.ch/',
keywords='web pyramid pylons',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
install_requires=requires,
tests_require=requires,
test_suite="weboot",
package_data={
"weboot": ["version.txt"],
},
entry_points="""
[paste.app_factory]
main = weboot:main
""",
scripts=glob('scripts/*'),
)