forked from robotframework/rfdoc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
executable file
·52 lines (45 loc) · 1.77 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
#!/usr/bin/env python
try:
from setuptools import setup
requires = {
'install_requires': ['django >= 1.5, < 1.7'],
}
except ImportError:
from distutils.core import setup
requires = {}
from os.path import abspath, dirname, join
execfile(join(dirname(abspath(__file__)), 'src', 'rfdoc', 'version.py'))
# Maximum width in Windows installer seems to be 70 characters -------|
DESCRIPTION = """
RFDoc is a web application for storing and searching Robot Framework
test library and resource file documentations.
Required packages:
django >= 1.5
"""[1:-1]
CLASSIFIERS = """
Development Status :: 5 - Production/Stable
License :: OSI Approved :: Apache Software License
Operating System :: OS Independent
Programming Language :: Python
Topic :: Software Development :: Testing
"""[1:-1]
setup(
name = 'robotframework-rfdoc',
version = VERSION,
description = 'Web-based Robot Framework library documentation server',
long_description = DESCRIPTION,
author = 'Robot Framework Developers',
author_email = '[email protected]',
url = 'http://code.google.com/p/rfdoc/',
license = 'Apache License 2.0',
keywords = 'robotframework testing testautomation documentation',
platforms = 'any',
classifiers = CLASSIFIERS.splitlines(),
package_dir = {'rfdoc': 'src/rfdoc'},
packages = ['rfdoc', 'rfdoc.rfdocapp', 'rfdoc.rfdocapp.views',
'rfdoc.rfdocapp.templatetags', 'rfdoc.rfdocapp.utils'],
package_data = {'rfdoc': ['*.tmpl', 'rfdocapp/templates/*.html',
'rfdocapp/static/*.css',
'rfdocapp/static/*.js']},
**requires
)