2010-05-28 13:53:31 +00:00
|
|
|
from setuptools import setup, find_packages
|
2010-04-05 17:08:20 +00:00
|
|
|
import categories
|
2010-04-07 13:43:35 +00:00
|
|
|
import os
|
2010-04-05 17:08:20 +00:00
|
|
|
|
|
|
|
|
try:
|
2021-12-04 14:57:30 +00:00
|
|
|
long_description = open('README.md').read()
|
2010-04-05 17:08:20 +00:00
|
|
|
except IOError:
|
|
|
|
|
long_description = ''
|
2009-07-07 11:31:34 +00:00
|
|
|
|
2010-04-07 13:43:35 +00:00
|
|
|
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,
|
2021-12-04 14:57:30 +00:00
|
|
|
long_description_content_type="text/markdown",
|
2010-04-07 13:43:35 +00:00
|
|
|
author='Corey Oordt',
|
2011-05-12 10:58:46 +00:00
|
|
|
author_email='coreyoordt@gmail.com',
|
2010-05-28 13:53:31 +00:00
|
|
|
include_package_data=True,
|
2021-12-04 14:36:09 +00:00
|
|
|
url='http://github.com/jazzband/django-categories',
|
2017-10-13 03:52:59 +00:00
|
|
|
packages=find_packages(exclude=['example*', ]),
|
2010-04-07 13:43:35 +00:00
|
|
|
classifiers=[
|
|
|
|
|
'Framework :: Django',
|
|
|
|
|
],
|
2016-02-15 21:47:21 +00:00
|
|
|
install_requires=reqs,
|
|
|
|
|
dependency_links=[]
|
2010-04-07 13:43:35 +00:00
|
|
|
)
|