setup.py 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. import os
  2. import codecs
  3. from setuptools import setup, find_packages
  4. here = os.path.abspath(os.path.dirname(__file__))
  5. with codecs.open(os.path.join(here, "README.md"), encoding="utf-8") as fh:
  6. long_description = "\n" + fh.read()
  7. VERSION = '0.0.1'
  8. DESCRIPTION = 'DRF modeltranslation serializer'
  9. # Setting up
  10. setup(
  11. name="drf-translated",
  12. version=VERSION,
  13. author="Kapustlo",
  14. description=DESCRIPTION,
  15. url='https://notabug.org/kapustlo/drf-translated',
  16. long_description_content_type="text/markdown",
  17. long_description=long_description,
  18. package_dir={'': 'drf_translated'},
  19. packages=find_packages(where='drf_translated'),
  20. keywords=['python', 'python3', 'modeltranslation', 'drf', 'serializer'],
  21. classifiers=[
  22. "License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
  23. "Topic :: Internet :: WWW/HTTP",
  24. "Development Status :: 2 - Pre-Alpha",
  25. "Intended Audience :: Developers",
  26. "Programming Language :: Python :: 3",
  27. "Operating System :: OS Independent",
  28. ],
  29. python_requires=">=3.8",
  30. install_requires=[
  31. 'django',
  32. 'djangorestframework',
  33. 'django-modeltranslation'
  34. ]
  35. )