-
Notifications
You must be signed in to change notification settings - Fork 40
/
setup.py
50 lines (44 loc) · 1.78 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
from os import path
from setuptools import setup, find_packages
from importlib.machinery import SourceFileLoader
### To run the tests:
# python setup.py test
### To install on a machine:
# sudo python setup.py install
### To install in a home directory (~/lib):
# python setup.py install --home=~
LONG_DESCRIPTION = open(path.join(path.dirname(__file__), 'README.md')).read()
# avoid loading the package before requirements are installed:
version = SourceFileLoader('version', 'foss42/version.py').load_module()
DEPENDENCIES = ["Unidecode",
"titlecase",
"typeguard",
]
setup(name="foss42",
version=str(version.VERSION),
author="foss42",
author_email="[email protected]",
keywords='foss42 utility conversion validation generate transform ml bi visualization charts language graphs data map',
description="Core Python library used by foss42 Open Source APIs.",
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url="https://github.com/foss42/foss42",
project_urls={
"Homepage": "https://foss42.com",
"Source Code": "https://github.com/foss42/foss42-core",
"Bug Tracker": "https://github.com/foss42/foss42-core/issues",
"Documentation": "https://foss42.com",
},
test_suite="test",
packages= find_packages(),
install_requires=DEPENDENCIES,
tests_require=DEPENDENCIES,
python_requires='>=3.10',
classifiers=[
'Programming Language :: Python :: 3 :: Only',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Natural Language :: English',
],
)