Skip to content

Commit

Permalink
improve setup.py
Browse files Browse the repository at this point in the history
  • Loading branch information
GiuseppeNovielli committed Aug 21, 2024
1 parent 1c33f02 commit a4552be
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,28 @@ def get_version(package):
with open("README.md", "r", encoding="utf-8") as fh:
long_description = fh.read()

with open('LICENSE.md', "r", encoding="utf-8") as f:
license = f.read()


setup(
name="drf-fullclean",
version=version,
author="Giuseppe Novielli",
author_email="[email protected]",
description="Call django model full_clean() when validate ModelSerializer",
long_description=long_description,
license=license,
long_description_content_type="text/markdown",
url="https://github.com/giuseppenovielli/drf-fullclean",
keywords=['django-rest-framework', 'model-serializer', 'validate', 'full_clean'],
packages=['drf_fullclean'],
project_urls={
'Documentation': 'https://github.com/giuseppenovielli/drf-fullclean?tab=readme-ov-file#drf-fullclean',
'Funding': 'https://buymeacoffee.com/giuseppedev',
'Source': 'https://github.com/giuseppenovielli/drf-fullclean',
'Tracker': 'https://github.com/giuseppenovielli/drf-fullclean/issues',
},
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
Expand Down

0 comments on commit a4552be

Please sign in to comment.