forked from jazzband/django-categories
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
30 lines (27 loc) · 823 Bytes
/
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
from setuptools import setup, find_packages
import categories
import os
try:
long_description = open('README.rst').read()
except IOError:
long_description = ''
try:
reqs = open(os.path.join(os.path.dirname(__file__), 'requirements.txt')).read()
except (IOError, OSError):
reqs = ''
setup(
name='django-categories',
version=categories.get_version(),
description='A way to handle one or more hierarchical category trees in django.',
long_description=long_description,
author='Corey Oordt',
author_email='[email protected]',
include_package_data=True,
url='http://github.com/callowayproject/django-categories',
packages=find_packages(exclude=['example*', ]),
classifiers=[
'Framework :: Django',
],
install_requires=reqs,
dependency_links=[]
)