-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
65 lines (59 loc) · 2 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
import os
from setuptools import setup
LONG_DESCRIPTION = """
A modular framework for building custom offline-capable desktop and mobile web apps.
"""
def long_description():
"""Return long description from README.rst if it's present
because it doesn't get installed."""
try:
return open(os.path.join(
os.path.dirname(__file__), 'README.rst'
)).read()
except IOError:
return LONG_DESCRIPTION
def list_package_data(root):
"""
Include django-wq-template as package data
"""
paths = []
for base, dirs, files in os.walk(os.path.join('wq', root)):
base = base.replace('wq' + os.sep, '', 1)
paths.extend([os.path.join(base, name) for name in files])
return paths
setup(
name='wq',
version='0.6.2',
author='S. Andrew Sheppard',
author_email='[email protected]',
url='http://wq.io/',
license='MIT',
description=LONG_DESCRIPTION.strip(),
long_description=long_description(),
install_requires=[
'wq.app==0.6.2',
'wq.db==0.6.2',
'wq.io==0.6.2',
],
scripts=['wq/bin/wq-start'],
packages=['wq'],
namespace_packages=['wq'],
package_data={'wq': list_package_data('template')},
exclude_package_data={'wq': ['template/README.md', 'template/.git']},
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: JavaScript',
'Programming Language :: Python :: 2.7',
'Framework :: Django',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Topic :: Text Processing :: Markup :: HTML',
'Topic :: Scientific/Engineering :: GIS',
'Topic :: Software Development :: Build Tools',
'Topic :: Software Development :: Pre-processors',
'Topic :: Database :: Database Engines/Servers',
'Topic :: Text Processing :: Markup :: XML',
]
)