Add `setup.cfg` (`setuptools` declarative syntax) generated using `setuptools-py2cfg`.
parent
5263bb02ea
commit
ab3f41c3f2
53
setup.cfg
53
setup.cfg
|
|
@ -1,2 +1,53 @@
|
||||||
[metadata]
|
[metadata]
|
||||||
description-file = README.md
|
name = django-admin-interface
|
||||||
|
version = 0.24.2
|
||||||
|
author = Fabio Caccamo
|
||||||
|
author_email = fabio.caccamo@gmail.com
|
||||||
|
description = django-admin-interface is a modern responsive flat admin interface customizable by the admin itself.
|
||||||
|
keywords =
|
||||||
|
django
|
||||||
|
admin
|
||||||
|
interface
|
||||||
|
responsive
|
||||||
|
flat
|
||||||
|
theme
|
||||||
|
custom
|
||||||
|
ui
|
||||||
|
url = https://github.com/fabiocaccamo/django-admin-interface
|
||||||
|
download_url = https://github.com/fabiocaccamo/django-admin-interface/archive/0.24.2.tar.gz
|
||||||
|
long_description = file: README.md
|
||||||
|
long_description_content_type = text/markdown
|
||||||
|
classifiers =
|
||||||
|
Development Status :: 5 - Production/Stable
|
||||||
|
Environment :: Web Environment
|
||||||
|
Framework :: Django
|
||||||
|
Framework :: Django :: 2.2
|
||||||
|
Framework :: Django :: 3.0
|
||||||
|
Framework :: Django :: 3.1
|
||||||
|
Framework :: Django :: 3.2
|
||||||
|
Framework :: Django :: 4.0
|
||||||
|
Framework :: Django :: 4.1
|
||||||
|
Intended Audience :: Developers
|
||||||
|
License :: OSI Approved :: MIT License
|
||||||
|
Natural Language :: English
|
||||||
|
Operating System :: OS Independent
|
||||||
|
Programming Language :: Python :: 3
|
||||||
|
Programming Language :: Python :: 3.8
|
||||||
|
Programming Language :: Python :: 3.9
|
||||||
|
Programming Language :: Python :: 3.10
|
||||||
|
Programming Language :: Python :: 3.11
|
||||||
|
Topic :: Software Development :: Build Tools
|
||||||
|
requires = django (>= 2.2)
|
||||||
|
project_urls =
|
||||||
|
Documentation = https://github.com/fabiocaccamo/django-admin-interface#readme
|
||||||
|
Issues = https://github.com/fabiocaccamo/django-admin-interface/issues
|
||||||
|
Funding = https://github.com/sponsors/fabiocaccamo/
|
||||||
|
Twitter = https://twitter.com/fabiocaccamo
|
||||||
|
|
||||||
|
[options]
|
||||||
|
packages = find:
|
||||||
|
install_requires = django-colorfield >= 0.8.0, < 1.0.0
|
||||||
|
include_package_data = True
|
||||||
|
|
||||||
|
[options.packages.find]
|
||||||
|
exclude = contrib; docs; tests*
|
||||||
|
|
|
||||||
85
setup.py
85
setup.py
|
|
@ -1,83 +1,4 @@
|
||||||
#!/usr/bin/env python
|
from setuptools import setup
|
||||||
|
|
||||||
import os
|
if __name__ == "__main__":
|
||||||
import sys
|
setup()
|
||||||
|
|
||||||
from setuptools import find_packages, setup
|
|
||||||
|
|
||||||
exec(open("admin_interface/version.py").read())
|
|
||||||
|
|
||||||
package_name = "django-admin-interface"
|
|
||||||
package_url = f"https://github.com/fabiocaccamo/{package_name}"
|
|
||||||
package_path = os.path.abspath(os.path.dirname(__file__))
|
|
||||||
download_url = f"{package_url}/archive/{__version__}.tar.gz"
|
|
||||||
documentation_url = f"{package_url}#readme"
|
|
||||||
issues_url = f"{package_url}/issues"
|
|
||||||
sponsor_url = "https://github.com/sponsors/fabiocaccamo/"
|
|
||||||
twitter_url = "https://twitter.com/fabiocaccamo"
|
|
||||||
|
|
||||||
long_description_file_path = os.path.join(package_path, "README.md")
|
|
||||||
long_description_content_type = "text/markdown"
|
|
||||||
long_description = ""
|
|
||||||
try:
|
|
||||||
with open(long_description_file_path, "r", encoding="utf-8") as f:
|
|
||||||
long_description = f.read()
|
|
||||||
except IOError:
|
|
||||||
pass
|
|
||||||
|
|
||||||
setup(
|
|
||||||
name=package_name,
|
|
||||||
packages=find_packages(exclude=["contrib", "docs", "tests*"]),
|
|
||||||
include_package_data=True,
|
|
||||||
version=__version__,
|
|
||||||
description="django-admin-interface is a modern responsive flat admin interface customizable by the admin itself.",
|
|
||||||
long_description=long_description,
|
|
||||||
long_description_content_type=long_description_content_type,
|
|
||||||
author="Fabio Caccamo",
|
|
||||||
author_email="fabio.caccamo@gmail.com",
|
|
||||||
url=package_url,
|
|
||||||
download_url=download_url,
|
|
||||||
project_urls={
|
|
||||||
"Documentation": documentation_url,
|
|
||||||
"Issues": issues_url,
|
|
||||||
"Funding": sponsor_url,
|
|
||||||
"Twitter": twitter_url,
|
|
||||||
},
|
|
||||||
keywords=[
|
|
||||||
"django",
|
|
||||||
"admin",
|
|
||||||
"interface",
|
|
||||||
"responsive",
|
|
||||||
"flat",
|
|
||||||
"theme",
|
|
||||||
"custom",
|
|
||||||
"ui",
|
|
||||||
],
|
|
||||||
requires=[
|
|
||||||
"django (>= 2.2)",
|
|
||||||
],
|
|
||||||
install_requires=[
|
|
||||||
"django-colorfield >= 0.8.0, < 1.0.0",
|
|
||||||
],
|
|
||||||
classifiers=[
|
|
||||||
"Development Status :: 5 - Production/Stable",
|
|
||||||
"Environment :: Web Environment",
|
|
||||||
"Framework :: Django",
|
|
||||||
"Framework :: Django :: 2.2",
|
|
||||||
"Framework :: Django :: 3.0",
|
|
||||||
"Framework :: Django :: 3.1",
|
|
||||||
"Framework :: Django :: 3.2",
|
|
||||||
"Framework :: Django :: 4.0",
|
|
||||||
"Framework :: Django :: 4.1",
|
|
||||||
"Intended Audience :: Developers",
|
|
||||||
"License :: OSI Approved :: MIT License",
|
|
||||||
"Natural Language :: English",
|
|
||||||
"Operating System :: OS Independent",
|
|
||||||
"Programming Language :: Python :: 3",
|
|
||||||
"Programming Language :: Python :: 3.8",
|
|
||||||
"Programming Language :: Python :: 3.9",
|
|
||||||
"Programming Language :: Python :: 3.10",
|
|
||||||
"Programming Language :: Python :: 3.11",
|
|
||||||
"Topic :: Software Development :: Build Tools",
|
|
||||||
],
|
|
||||||
)
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue