forked from jazzband/django-simple-menu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
38 lines (33 loc) · 1.14 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
#!/usr/bin/env python
import re
from setuptools import setup
# load our version from our init file
init_data = open('menu/__init__.py').read()
matches = re.search(r"__version__ = '([^']+)'", init_data, re.M)
if matches:
version = matches.group(1)
else:
raise RuntimeError("Unable to load version")
requirements = [
'setuptools',
'Django'
]
setup(name='django-simple-menu',
packages=['menu'],
include_package_data=True,
version=version,
description='Simple, yet powerful, code-based menus for Django applications',
long_description=open('README.rst').read(),
author='Evan Borgstrom',
author_email='evan@borgstrom.ca',
url='https://github.com/borgstrom/django-simple-menu',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Topic :: Software Development :: Libraries',
'Topic :: Software Development :: Libraries :: Python Modules',
],
install_requires=requirements)