|
1
|
|
|
from pathlib import Path |
|
2
|
|
|
|
|
3
|
|
|
from setuptools import setup, find_packages |
|
4
|
|
|
|
|
5
|
|
|
from lazy_alchemy import version |
|
6
|
|
|
|
|
7
|
|
|
here = Path(__file__).resolve().parent |
|
8
|
|
|
README = (here / "README.md").read_text(encoding="utf-8") |
|
9
|
|
|
PACKAGE_NAME = "lazy_alchemy" |
|
10
|
|
|
|
|
11
|
|
|
setup( |
|
12
|
|
|
name=PACKAGE_NAME, |
|
13
|
|
|
version=version, |
|
14
|
|
|
license="MIT", |
|
15
|
|
|
packages=find_packages(exclude=["test"]), |
|
16
|
|
|
include_package_data=True, |
|
17
|
|
|
description="Lazy-Alchemy is a Python package that loads the DB models lazily.", |
|
18
|
|
|
long_description=README, |
|
19
|
|
|
long_description_content_type="text/markdown", |
|
20
|
|
|
author="Satyam Soni", |
|
21
|
|
|
author_email="[email protected]", |
|
22
|
|
|
url="https://github.com/satyamsoni2211/lazy_alchemy", |
|
23
|
|
|
keywords=["sqlalchemy", "alchemy", "mysql", "postgres", |
|
24
|
|
|
"mssql", "sql", "sqlite", "lazy", "performance", |
|
25
|
|
|
"orm", "mapper", "performance", "database", "lazy", |
|
26
|
|
|
"relational", "classes", "oops", "metaclass"], |
|
27
|
|
|
install_requires=[ |
|
28
|
|
|
"sqlalchemy <2.0", |
|
29
|
|
|
], |
|
30
|
|
|
classifiers=[ |
|
31
|
|
|
# See https://pypi.org/pypi?%3Aaction=list_classifiers |
|
32
|
|
|
"Development Status :: 5 - Production/Stable", |
|
33
|
|
|
"Environment :: Console", |
|
34
|
|
|
"Intended Audience :: Developers", |
|
35
|
|
|
"Programming Language :: Python", |
|
36
|
|
|
"Programming Language :: Python :: 3", |
|
37
|
|
|
"Programming Language :: Python :: 3 :: Only", |
|
38
|
|
|
"Programming Language :: Python :: 3.6", |
|
39
|
|
|
"Programming Language :: Python :: 3.7", |
|
40
|
|
|
"Programming Language :: Python :: 3.8", |
|
41
|
|
|
"Programming Language :: Python :: 3.9", |
|
42
|
|
|
"Programming Language :: Python :: Implementation :: CPython", |
|
43
|
|
|
"Programming Language :: Python :: Implementation :: PyPy", |
|
44
|
|
|
"Topic :: Software Development :: Libraries :: Python Modules", |
|
45
|
|
|
"Topic :: Utilities", |
|
46
|
|
|
"License :: OSI Approved :: MIT License", |
|
47
|
|
|
], |
|
48
|
|
|
platforms=["any"], |
|
49
|
|
|
python_requires=">=3.6", |
|
50
|
|
|
) |
|
51
|
|
|
|