forked from kilisimba/ls-django-treeadmin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
41 lines (37 loc) · 1.35 KB
/
setup.py
File metadata and controls
41 lines (37 loc) · 1.35 KB
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
import os
from setuptools import setup, find_packages
from treeadmin import __version__ as version
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
setup(
name = 'ls-django-treeadmin',
version = version,
description = 'Tree UI for mptt-managed models, extracted from FeinCMS',
long_description=(read('README.rst') + '\n\n' +
read('HISTORY.rst')),
author = 'Scott Sharkey, Matthias Kestenholz et al.',
author_email = 'ssharkey@lanshark.com',
url = 'https://github.com/lanshark/ls-django-treeadmin',
download_url = 'https://github.com/lanshark/ls-django-treeadmin/tarball/' + version,
license='BSD',
packages = find_packages(),
zip_safe=False,
include_package_data = True,
install_requires=[
'Django>=1.7',
'django-mptt>=0.5',
],
classifiers = [
'Development Status :: 4 - Beta',
"Framework :: Django",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.5",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
]
)