forked from daonb/django-voice
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
42 lines (38 loc) · 1.29 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
# -*- coding: utf-8 -*-
import os.path
from setuptools import setup, find_packages
pkg_name = 'djangovoice'
version = __import__(pkg_name).__version__
description = file('README.rst', 'r').read()
# get requires from requirements/global.txt file.
requires_file_name = os.path.join(
os.path.dirname(__file__), 'requirements', 'global.txt')
install_requires = []
with file(requires_file_name) as requires:
requires_list = filter(lambda x: len(x.strip()) > 0, requires.readlines())
for require in requires_list:
require = require.strip()
if require[0] in ['-', '#']:
continue
install_requires.append(require)
setup(
name='django-voice',
version=version,
description="A feedback application for Django",
long_description=description,
author=u'Gökmen Görgen',
author_email='gokmen@alageek.com',
url='https://github.com/gkmngrgn/django-voice',
license='BSD',
platforms='any',
packages=find_packages(exclude=('demo', 'demo.*')),
include_package_data=True,
zip_safe=False,
install_requires=install_requires,
classifiers=[
"Programming Language :: Python",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: Django",
"Environment :: Web Environment"
]
)