forked from sirmmo/py2neo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
100 lines (92 loc) · 3.4 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#!/usr/bin/env python
# -*- encoding: utf-8 -*-
# Copyright 2011-2018, Nigel Small
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from os.path import dirname, join as path_join
try:
from setuptools import setup, find_packages
except ImportError:
from distutils.core import setup, find_packages
from py2neo.meta import __author__, __email__, __license__, __package__, __version__
with open(path_join(dirname(__file__), "README.rst")) as f:
README = f.read()
packages = find_packages(exclude=("docs", "test"))
package_metadata = {
"name": __package__,
"version": __version__,
"description": "Python client library and toolkit for Neo4j",
"long_description": README,
"long_description_content_type": "text/markdown",
"author": __author__,
"author_email": __email__,
"url": "http://py2neo.org/",
"entry_points": {
"console_scripts": [
"py2neo = py2neo.__main__:main",
# "icypher = py2neo.cypher.console:main",
# "icypher-install = py2neo.cypher.kernel:install_kernel",
# "icypher-uninstall = py2neo.cypher.kernel:uninstall_kernel",
# "icypher-launch = py2neo.cypher.kernel:launch_kernel",
],
"pygments.lexers": [
"py2neo.cypher = py2neo.cypher.lexer:CypherLexer",
],
},
"packages": packages,
"py_modules": [],
"install_requires": [
"click>=2.0",
"colorama",
"ipykernel",
"jupyter_client",
"jupyter_console",
"neo4j-driver>=1.6,<1.7",
"neotime",
"prompt_toolkit==1.0.15",
"pygments>=2.0",
"pytest",
"traitlets>=4.1.0",
"urllib3[secure]<1.23,>=1.21.1",
],
"extras_require": {
},
"license": __license__,
"classifiers": [
"Development Status :: 6 - Mature",
"Environment :: Console",
"Intended Audience :: Developers",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.4",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Database",
"Topic :: Database :: Database Engines/Servers",
"Topic :: Scientific/Engineering",
"Topic :: Software Development",
"Topic :: Software Development :: Libraries",
],
"zip_safe": False,
}
setup(**package_metadata)