forked from winfried/HelpIM
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
executable file
·70 lines (63 loc) · 1.93 KB
/
setup.py
File metadata and controls
executable file
·70 lines (63 loc) · 1.93 KB
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
#!/usr/bin/env python
from os import walk
from os.path import join
from setuptools import setup, find_packages
from version import get_git_version
long_description=(open('README.rst').read())
name='helpim'
install_requires=[
'setuptools',
'distribute==0.6.16',
'setuptools==0.6c11',
'django>=1.3',
'mysql-python==1.2.3',
'south==0.7.3',
'django-threadedcomments==0.5.3',
'django-rosetta==0.6.0',
'pyxmpp==1.1.1',
'libxml2-python==2.6.21',
'django-registration==0.8-alpha-1',
]
include_dirs = [
('/usr/local/share/helpim/static', 'static'),
('/usr/local/share/helpim/locale', 'helpim/locale'),
('/usr/local/share/helpim/templates', 'helpim/templates'),
('/usr/local/share/helpim/templates/forms', 'helpim/questionnaire/templates/forms'),
('/usr/local/share/helpim/fixtures', 'helpim/fixtures'),
('/usr/local/share/helpim/doc/debian/example', 'helpim/doc/debian/example'),
]
static_files = []
for target, include_dir in include_dirs:
for root, dirs, files in walk(include_dir):
static_files.append((
join(target, root[len(include_dir)+1:]),
[join(root, f) for f in files]
))
setup(
name=name,
version=get_git_version().lstrip('v'),
url='http://www.python.org/pypi/'+name,
license='AGPL',
description='A chat-system for online psycho-social counselling',
long_description=long_description,
author='e-hulp.nl HelpIM Team',
author_email='helpdesk@e-hulp.nl',
packages=find_packages('.'),
package_dir={'': '.'},
install_requires=install_requires,
zip_safe = False,
namespace_packages=[],
data_files=static_files,
include_package_data = True,
classifiers = [
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
],
extras_require = dict(
test=[],
),
entry_points = dict(
console_scripts=[],
),
)