-
Notifications
You must be signed in to change notification settings - Fork 70
/
setup.py
60 lines (54 loc) · 2.19 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
#!/usr/bin/env python
import codecs
import os
from setuptools import setup, find_packages
from pylode import __version__
def open_local(paths, mode="r", encoding="utf8"):
path = os.path.join(os.path.abspath(os.path.dirname(__file__)), *paths)
return codecs.open(path, mode, encoding)
with open_local(["README.rst"], encoding="utf-8") as readme:
long_description = readme.read()
with open_local(["pylode/requirements.txt"]) as req:
install_requires = req.read().split("\n")
setup(
name="pyLODE",
packages=find_packages(),
package_dir={"pylode": "pylode", "img": "img"},
package_data={"pylode": ["*.css"], "img": ["pyLODE-250.png"]},
version=__version__,
description="An OWL ontology documentation tool using Python and templating, based on LODE.",
author="Nicholas J. Car",
author_email="nicholas.car@surroundaustralia.com",
url="https://github.com/rdflib/pyLODE",
download_url=f"https://github.com/RDFLib/pyLODE/releases/tag/{__version__}",
license="LICENSE",
keywords=["Semantic Web", "OWL", "ontology", "template", "HTML", "documentation"],
long_description=long_description,
entry_points={
"console_scripts": [
"pylode = pylode.cli:main",
]
},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Topic :: Utilities",
"License :: OSI Approved :: BSD License",
"Intended Audience :: Developers",
"Natural Language :: English",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Python Modules",
],
project_urls={
"Bug Reports": "https://github.com/rdflib/pyLODE/issues",
"Source": "https://github.com/rdflib/pyLODE/",
},
install_requires=install_requires,
long_description_content_type="text/x-rst",
)