-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
54 lines (47 loc) · 1.85 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
# This is free and unencumbered software released into the public domain.
"""Installation script for the 'know.py' package."""
# See: https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
# See: https://packaging.python.org/en/latest/guides/modernize-setup-py-project/
from codecs import open
from os import path
from setuptools import find_packages, setup
def readfile(*filepath):
with open(path.join(*filepath), encoding='utf-8') as f:
return f.read()
PWD = path.abspath(path.dirname(__file__))
VERSION = readfile(PWD, 'VERSION').rstrip()
LONG_DESCRIPTION = readfile(PWD, 'README.md')
setup(
name='know.py',
version=VERSION,
description="The Know Framework for Python",
long_description=LONG_DESCRIPTION,
long_description_content_type='text/markdown',
url='https://know.dev',
author='KNOW Project',
author_email='[email protected]',
license='Public Domain',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'License :: Public Domain',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3 :: Only',
'Topic :: Software Development :: Libraries',
],
keywords='',
project_urls={
'Bug Tracker': 'https://github.com/KnowOntology/know.py/issues',
'Changelog': 'https://github.com/KnowOntology/know.py/blob/master/CHANGES.md',
'Documentation': 'https://github.com/KnowOntology/know.py/blob/master/README.md',
'Source Code': 'https://github.com/KnowOntology/know.py',
},
packages=find_packages(where='src'),
package_dir={'': 'src'},
install_requires=[],
python_requires='~=3.9',
extras_require={'test': ['pytest']},
)