-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
28 lines (27 loc) · 1013 Bytes
/
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
from setuptools import setup, find_packages
from os import path, getcwd
setup(
name="rdfhash",
version="0.4.6",
author="Neil Graham",
author_email="[email protected]",
url="https://github.com/NeilGraham/rdfhash",
license_files="LICENSE.txt",
description="De-duplicate RDF triples w/ a SPARQL query. Subjects taken from SELECT are replaced by the hash of their triples '{predicate} {object}.\n' pairs sorted.",
long_description=open(path.join(getcwd(), "README.md")).read()
# Replace relative links with absolute links to GitHub for PyPi
.replace(
"](docs/",
"](https://github.com/NeilGraham/rdfhash/blob/master/docs/",
),
long_description_content_type="text/markdown",
packages=find_packages(),
entry_points={"console_scripts": ["rdfhash = rdfhash.cli:cli"]},
python_requires=">=3.7",
install_requires=[
"pytest >= 7.1.2",
"rdflib >= 6.1.1",
"oxrdflib >= 0.3.4",
"pyoxigraph >= 0.3.16",
],
)