-
Notifications
You must be signed in to change notification settings - Fork 29
/
setup.py
61 lines (52 loc) · 1.84 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
import os
import sys
try:
from setuptools import setup, find_packages
from setuptools.extension import Extension
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup
from distutils.core import setup, find_packages
from distutils.extension import Extension
extra_opts = {}
python_2 = sys.version_info < (3,)
try:
with open("README.md", "r") as fd:
extra_opts['long_description'] = fd.read()
except IOError:
pass # Install without README.md
packages = ["mongo_connector", "mongo_connector.doc_managers"]
package_metadata = {
"name": "neo4j-doc-manager",
"version": "0.1.0",
"description": "Neo4j Doc manager for Mongo Connector",
"long_description": "Neo4j Doc Manager is a tool that will import data in Mongodb for a "
"Neo4j graph structure, via Mongo-Connector.",
"author": "Neo4j Team",
"author_email": "[email protected]",
"url": "https://github.com/neo4j-contrib/neo4j_doc_manager.git",
"entry_points": {
"console_scripts": [
'mongo-connector = mongo_connector.connector:main',
],
},
"packages": packages,
"install_requires": ['mongo-connector>=2.1','py2neo','requests>=2.5.1'],
"license": "Apache Software License",
"classifiers": [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Database",
"Topic :: Software Development",
],
}
try:
setup(ext_modules=extensions, **package_metadata)
except:
setup(**package_metadata)