-
Notifications
You must be signed in to change notification settings - Fork 6
/
setup.py
46 lines (42 loc) · 1.31 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import codecs
from setuptools import setup, find_packages
#from distribute import setup, find_packages
import djintegration
import os
templates_dirs = []
for directory in os.walk('djintegration/templates'):
templates_dirs.append(directory[0][14:]+'/*.*')
for directory in os.walk('djintegration/tests'):
templates_dirs.append(directory[0][14:]+'/*.txt')
print templates_dirs
setup(
name='djintegration',
version=djintegration.__version__,
description=djintegration.__doc__,
author=djintegration.__author__,
author_email=djintegration.__contact__,
url=djintegration.__homepage__,
platforms=["any"],
packages=find_packages(exclude=['testproj', 'testproj.*']),
package_data={'djintegration': templates_dirs},
zip_safe=False,
test_suite="nose.collector",
install_requires=(
'nose',
'django',
'virtualenv',
#'coverage',
),
classifiers=[
"Development Status :: 4 - Beta",
"Framework :: Django",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Intended Audience :: Developers",
"Topic :: Software Development :: Libraries :: Python Modules",
],
long_description=codecs.open('README', "r", "utf-8").read(),
)