Skip to content

Commit

Permalink
Lint and updated packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
paltman committed Nov 24, 2021
1 parent 6f6c4d4 commit 31a8c6f
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 92 deletions.
2 changes: 1 addition & 1 deletion pinax/images/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import django
import pkg_resources

import pkg_resources

if django.__version__ < "3.2": # Deprecated in 4.1 but needed in 2.2 still
default_app_config = "pinax.images.apps.AppConfig"
Expand Down
6 changes: 6 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[build-system]
requires = [
"setuptools>=42",
"wheel"
]
build-backend = "setuptools.build_meta"
42 changes: 42 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[metadata]
name = pinax-images
version = 5.0.0
author = Pinax Team
author_email = [email protected]
description = an app for managing collections of images associated with a content object
long_description = file: README.md
long_description_content_type = text/markdown
url = https://github.com/pinax/pinax-images/
license = MIT
classifiers =
Development Status :: 5 - Production/Stable
Environment :: Web Environment
Framework :: Django
Framework :: Django :: 2.2
Framework :: Django :: 3.2
Intended Audience :: Developers
License :: OSI Approved :: MIT License
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Topic :: Software Development :: Libraries :: Python Modules

[options]
package_dir =
= pinax
packages = find:
install_requires =
django>=2.2
django-imagekit>=4.0.2
pilkit>=2.0.0
pillow>=7.1.2
pytz>=2020.1
zip_safe = False

[options.packages.find]
where = pinax
91 changes: 0 additions & 91 deletions setup.py

This file was deleted.

0 comments on commit 31a8c6f

Please sign in to comment.