setup.py 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import os
  2. import codecs
  3. from setuptools import setup, find_packages
  4. import sqlmodel_serializers
  5. here = os.path.abspath(os.path.dirname(__file__))
  6. with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
  7. long_description = "\n" + fh.read()
  8. VERSION = sqlmodel_serializers.__version__
  9. AUTHOR = sqlmodel_serializers.__author__
  10. DESCRIPTION = 'Model serializer for SQLModel'
  11. # Setting up
  12. setup(
  13. name="sqlmodel-serializers",
  14. version=VERSION,
  15. author=AUTHOR,
  16. description=DESCRIPTION,
  17. url="https://notabug.org/kapustlo/sqlmodel-serializers",
  18. long_description_content_type="text/markdown",
  19. long_description=long_description,
  20. packages=find_packages(),
  21. keywords=['python', 'sqlmodel', 'pydantic', 'sqlalchemy', 'orm', 'serializer'],
  22. classifiers=[
  23. "License :: OSI Approved :: MIT License",
  24. "Topic :: Software Development :: Libraries :: Python Modules",
  25. "Development Status :: 3 - Alpha",
  26. "Intended Audience :: Developers",
  27. "Programming Language :: Python :: 3.9",
  28. "Operating System :: OS Independent",
  29. "Natural Language :: English"
  30. ],
  31. python_requires=">=3.9",
  32. install_requires=(
  33. 'sqlmodel',
  34. )
  35. )