-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (40 loc) · 1.59 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
from importlib.util import module_from_spec, spec_from_file_location
from pathlib import Path
from setuptools import find_packages, setup
with open("requirements.txt") as f:
requirements = f.read().splitlines()
current_directory = Path(__file__).parent.resolve()
long_description = (current_directory / "README.md").read_text(encoding="utf-8")
package_name = "arraydb"
_version_path = current_directory / package_name / "_version.py"
_version_spec = spec_from_file_location(_version_path.name[:-3], _version_path)
_version_module = module_from_spec(_version_spec)
_version_spec.loader.exec_module(_version_module)
setup(
name=package_name,
version=_version_module.__version__,
license="MIT",
description="Database using array. With an basic ORM",
long_description=long_description,
long_description_content_type="text/markdown",
author="Md Shahriyar Alam",
author_email="[email protected]",
keywords=["arraydb", "database"],
url="https://github.com/shahriyardx/arraydb",
packages=find_packages(),
install_requires=requirements,
python_requires=">=3.6",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Natural Language :: English",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Topic :: Database",
"Operating System :: OS Independent",
],
)