forked from inveniosoftware/flask-menu
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
58 lines (55 loc) · 1.85 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
55
56
57
58
# -*- coding: utf-8 -*-
##
## This file is part of Flask-Menu
## Copyright (C) 2013, 2014 CERN.
##
## Flask-Menu is free software; you can redistribute it and/or modify
## it under the terms of the Revised BSD License; see LICENSE file for
## more details.
from setuptools import setup
import os
import re
# Get the version string. Cannot be done with import!
with open(os.path.join('flask_menu', 'version.py'), 'rt') as f:
version = re.search(
'__version__\s*=\s*"(?P<version>.*)"\n',
f.read()
).group('version')
setup(
name='Flask-Menu',
version=version,
url='http://github.com/inveniosoftware/flask-menu/',
license='BSD',
author='Invenio collaboration',
author_email='info@invenio-software.org',
description='Flask-Menu is a Flask extension that adds support '
'for generating menus.',
long_description=open('README.rst').read(),
packages=['flask_menu'],
zip_safe=False,
include_package_data=True,
platforms='any',
install_requires=[
'Flask',
'six',
],
classifiers=[
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Flask',
'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
'Topic :: Software Development :: Libraries :: Python Modules',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Development Status :: 5 - Production/Stable'
],
test_suite='nose.collector',
tests_require=['nose', 'coverage'],
)