-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
45 lines (40 loc) · 1.31 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
Setup script for rdflib-neo4j
"""
import os
import sys
if os.path.exists('MANIFEST'):
os.remove('MANIFEST')
from setuptools import setup
if sys.argv[-1] == 'setup.py':
print("To install, run 'python setup.py install'")
print()
if sys.version_info[:2] < (3, 6):
print("Neo4j requires Python 3.6 or later (%d.%d detected)." %
sys.version_info[:2])
sys.exit(-1)
if __name__ == "__main__":
setup(
name="rdflib-neo4j",
version="1.1",
author="Jesús Barrasa, Aleksandar Simeunovic, Alfredo Rubin",
description="RDFLib Store backed by neo4j",
keywords="neo4j, rdflib, neosemantics, n10s",
long_description="RDFLib Store backed by neo4j",
license="Apache 2",
platforms="All",
url="https://github.com/neo4j-labs/rdflib-neo4j",
install_requires=[
'rdflib >= 7.0.0', 'neo4j >= 5.0.0',
],
packages=["rdflib_neo4j", "rdflib_neo4j.config", "rdflib_neo4j.query_composers"],
entry_points={
'rdf.plugins.store': [
'neo4j-cypher = rdflib_neo4j.neo4jcypher:Neo4jStore',
],
},
zip_safe=False
)