-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (48 loc) · 1.52 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
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import os
from setuptools import setup
HERE = os.path.abspath(os.path.dirname(__file__))
def make_readme(root_path):
FILES = ('README.rst', 'LICENSE', 'CHANGELOG', 'CONTRIBUTORS')
for filename in FILES:
filepath = os.path.realpath(os.path.join(root_path, filename))
if os.path.isfile(filepath):
with open(filepath, mode='r') as f:
yield f.read()
LONG_DESCRIPTION = "\r\n\r\n----\r\n\r\n".join(make_readme(HERE))
setup(
name='django-menuhin',
version='0.1.0',
author='Keryn Knight',
author_email='python-package@kerynknight.com',
description="generating menus for Django apps",
long_description=LONG_DESCRIPTION,
packages=[
'menuhin',
],
include_package_data=True,
install_requires=[
'Django>=1.4.15',
'django-treebeard>=2.0rc1',
'django-model-utils>=2.1.1',
'django-classy-tags>=0.5',
],
zip_safe=False,
keywords='django menu',
license="BSD License",
classifiers=[
'Development Status :: 3 - Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Framework :: Django',
'Natural Language :: English',
'Environment :: Web Environment',
'Topic :: Internet :: WWW/HTTP',
"Programming Language :: Python :: 2",
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
],
test_suite='runtests.runtests',
)