-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathsetup.py
38 lines (35 loc) · 1 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
import re
from setuptools import setup, find_packages
version = ''
with open('flask_py2neo.py', 'r') as fd:
version = re.search(r'^__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
fd.read(), re.MULTILINE).group(1)
if not version:
raise RuntimeError('Cannot find version information')
setup(
name='Flask-py2neo',
version=version,
url='url',
license='MIT',
author='Kyle Lawlor',
author_email='[email protected]',
description='A Flask extension for py2neo',
zip_safe=False,
packages=find_packages(),
py_modules=['flask_py2neo'],
install_requires=[
'Flask>=0.11',
'py2neo>3.0',
],
tests_require=[
'pytest>=3.0',
],
classifiers=[
'Programming Language :: Python',
'Environment :: Web Environment',
'Framework :: Flask',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Topic :: Software Development :: Libraries :: Python Modules',
],
)