-
Notifications
You must be signed in to change notification settings - Fork 24
/
setup.py
38 lines (35 loc) · 1.07 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
# -*- coding: utf-8 -*-
import os
import djangovoice
from setuptools import setup, find_packages
data_dirs = [
os.path.join('djangovoice', 'static'),
os.path.join('djangovoice', 'templates')
]
data_files = []
for data_dir in data_dirs:
for dirpath, dirnames, filenames in os.walk(data_dir):
data_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
setup(
name='django-voice',
version=djangovoice.get_version(),
description="A feedback application for Django 1.3 or later",
author='Gökmen Görgen',
author_email='[email protected]',
url='https://github.com/alageek/django-voice',
license='BSD',
packages=find_packages(exclude=('demo', 'demo.*')),
data_files = data_files,
zip_safe=False,
classifiers=[
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: Django",
"Environment :: Web Environment"
],
install_requires=[
"Django>=1.3",
"django-gravatar==0.1.0",
"django-voting==0.1"
]
)