forked from winfried/HelpIM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
68 lines (59 loc) · 1.61 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
#!/usr/bin/env python
from setuptools import setup, find_packages
from os.path import join, dirname, relpath
import sys
sys.path.append(join(dirname(__file__), 'helpim'))
long_description=(
open(join(dirname(__file__),
'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',
]
static_files = []
import os
for root, dirs, files in os.walk(join(dirname(__file__), 'static')):
relroot = relpath(root, dirname(__file__))
static_files.append((
join('share', 'helpim', relroot),
[join(relroot, f) for f in files]
))
from version import get_git_version
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='[email protected]',
packages=find_packages('.'),
package_dir={'': '.'},
data_files=static_files,
namespace_packages=[],
include_package_data = True,
install_requires=install_requires,
zip_safe = False,
classifiers = [
"Programming Language :: Python",
"Development Status :: 4 - Beta",
"Environment :: Other Environment",
],
extras_require = dict(
test=[],
),
entry_points = dict(
console_scripts=[],
),
)