diff --git a/setup.cfg b/setup.cfg index 780ea810..bc1e84cd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,10 +1,54 @@ +[metadata] +name = django-scheduler +version = 0.9.6 +description = A calendaring app for Django. +long_description = file: README.md +long_description_content_type = text/markdown +author = Leonardo Lazzaro +author_email = lazzaroleonardo@gmail.com +url = https://github.com/llazzaro/django-scheduler +license = BSD +license_file = LICENSE.txt +classifiers = + Development Status :: 5 - Production/Stable + Environment :: Web Environment + Framework :: Django + Framework :: Django :: 2.2 + Framework :: Django :: 3.1 + Framework :: Django :: 3.2 + Intended Audience :: Developers + License :: OSI Approved :: BSD License + Operating System :: OS Independent + Programming Language :: Python + Programming Language :: Python :: 3 + Programming Language :: Python :: 3 :: Only + Programming Language :: Python :: 3.7 + Programming Language :: Python :: 3.8 + Programming Language :: Python :: 3.9 + Topic :: Utilities + +[options] +include_package_data = True +zip_safe = False +python_requires = >=3.7 +install_requires= + Django>=2.2 + python-dateutil>=2.1 + pytz>=2013.9 + icalendar>=3.8.4 +packages = + schedule + schedule.feeds + schedule.models + schedule.migrations + schedule.templatetags + + [flake8] ignore = W503 E501 -[metadata] -license_file = LICENSE.txt [isort] combine_as_imports = true diff --git a/setup.py b/setup.py index 7beda976..60684932 100755 --- a/setup.py +++ b/setup.py @@ -1,52 +1,3 @@ -#!/usr/bin/env python3 from setuptools import setup -with open("README.md") as fp: - long_description = fp.read() - -setup( - name="django-scheduler", - version="0.9.6", - description="A calendaring app for Django.", - long_description=long_description, - long_description_content_type="text/markdown", - author="Leonardo Lazzaro", - author_email="lazzaroleonardo@gmail.com", - url="https://github.com/llazzaro/django-scheduler", - packages=[ - "schedule", - "schedule.feeds", - "schedule.models", - "schedule.migrations", - "schedule.templatetags", - ], - include_package_data=True, - zip_safe=False, - classifiers=[ - "Development Status :: 5 - Production/Stable", - "Environment :: Web Environment", - "Framework :: Django", - "Framework :: Django :: 2.2", - "Framework :: Django :: 3.1", - "Framework :: Django :: 3.2", - "Intended Audience :: Developers", - "License :: OSI Approved :: BSD License", - "Operating System :: OS Independent", - "Programming Language :: Python", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: 3.9", - "Topic :: Utilities", - ], - python_requires=">=3.6", - install_requires=[ - "Django>=2.2", - "python-dateutil>=2.1", - "pytz>=2013.9", - "icalendar>=3.8.4", - ], - license="BSD", - test_suite="runtests.runtests", -) +setup()