This repository has been archived by the owner on Sep 17, 2024. It is now read-only.
forked from strawberry-graphql/strawberry-sqlalchemy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
49 lines (45 loc) · 1.76 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
"""
Setup file for strawberry-sqlalchemy-mapper.
Use setup.cfg to configure your project.
This file was generated with PyScaffold 4.1.4.
PyScaffold helps you to put up the scaffold of your new Python project.
Learn more under: https://pyscaffold.org/
"""
import pathlib
from setuptools import setup
HERE = pathlib.Path(__file__).parent
README = (HERE / "README.md").read_text(encoding="utf-8")
if __name__ == "__main__":
try:
setup(
use_scm_version={"version_scheme": "no-guess-dev"},
name="strawberry-sqlalchemy-mapper",
version="0.1.1",
description="The simplest way to implement autogenerated strawberry types for columns and relationships in SQLAlchemy models",
long_description=README,
long_description_content_type="text/markdown",
url="https://github.com/expedock/strawberry-sqlalchemy-mapper",
author="Expedock",
author_email="[email protected]",
license="MIT",
classifiers=[
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
],
packages=["strawberry_sqlalchemy_mapper"],
include_package_data=True,
install_requires=[
"sentinel==0.3.0",
"sqlalchemy>=1.4",
"strawberry-graphql>=0.95",
"importlib-metadata==4.11.1",
],
)
except: # noqa
print(
"\n\nAn error occurred while building the project, "
"please ensure you have the most updated version of setuptools, "
"setuptools_scm and wheel with:\n"
" pip install -U setuptools setuptools_scm wheel\n\n"
)
raise