8000 Switch to pbr for releases · codingjoe/django-stdimage@83a6f57 · GitHub
[go: up one dir, main page]

Skip to content

Commit 83a6f57

Browse files
committed
Switch to pbr for releases
1 parent 74b2191 commit 83a6f57

File tree

5 files changed

+39
-44
lines changed

5 files changed

+39
-44
lines changed

MANIFEST.in

Whitespace-only changes.

requirements-dev.txt

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
-e .
2-
coverage==4.4.2
3-
isort==4.2.15
4-
py==1.4.34
5-
pytest==3.2.3
6-
pytest-django==3.1.2
7-
tox==2.9.1
2+
coverage
3+
isort
4+
pytest
5+
pytest-django
6+
tox

requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pillow>=2.5
2+
progressbar2>=3.0.0

setup.cfg

Lines changed: 29 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,43 @@
1+
[metadata]
2+
name = django-stdimage
3+
author = Johannes Hoppe
4+
author-email = info@johanneshoppe.com
5+
summary = Django Standarized Image Field
6+
description-file = README.md
7+
home-page = https://github.com/codingjoe/django-stdimage
8+
license = MIT
9+
classifier =
10+
Development Status :: 5 - Production/Stable
11+
Environment :: Web Environment
12+
Framework :: Django
13+
Topic :: Multimedia :: Graphics :: Graphics Conversion
14+
Intended Audience :: Developers
15+
License :: OSI Approved :: MIT License
16+
Operating System :: OS Independent
17+
Programming Language :: Python
18+
Topic :: Software Development
19+
Programming Language :: Python :: 3
20+
Framework :: Django
21+
22+
[files]
23+
packages =
24+
stdimage
25+
126
[tool:pytest]
2-
norecursedirs=venv env
27+
norecursedirs=venv env .eggs
328
DJANGO_SETTINGS_MODULE=tests.settings
429
addopts = --tb=short -rxs --nomigrations
530

631
[pycodestyle]
732
max-line-length = 79
833
statistics = true
934
show-source = true
10-
exclude = */migrations/*,docs/*,env/*,venv/*,.tox/*
35+
exclude = */migrations/*,docs/*,env/*,venv/*,.tox/*,.eggs
36+
1137

1238
[pydocstyle]
1339
add-ignore = D1
1440
match-dir = (?!tests|env|docs|\.).*
15-
match = (?!setup).*.py
1641

1742
[coverage:run]
1843
source = .
@@ -31,6 +56,6 @@ atomic = true
3156
multi_line_output = 5
3257
line_length = 79
3358
combine_as_imports = true
34-
skip = wsgi.py,docs,tests/test_models.py,.tox,env
59+
skip = wsgi.py,docs,tests/test_models.py,.tox,env,.eggs
3560
known_first_party = stdimage,tests
3661
known_third_party = django

setup.py

Lines changed: 3 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,7 @@
11
#!/usr/bin/env python
2-
# -*- coding: utf-8 -*-
3-
from setuptools import find_packages, setup
2+
from setuptools import setup
43

54
setup(
6-
name='django-stdimage',
7-
version='2.4.2',
8-
description='Django Standarized Image Field',
9-
author='codingjoe',
10-
url='https://github.com/codingjoe/django-stdimage',
11-
download_url='https://github.com/codingjoe/django-stdimage',
12-
author_email='info@johanneshoppe.com',
13-
license='MIT',
14-
classifiers=[
15-
'Development Status :: 5 - Production/Stable',
16-
'Environment :: Web Environment',
17-
'Framework :: Django',
18-
'Topic :: Multimedia :: Graphics :: Graphics Conversion',
19-
'Intended Audience :: Developers',
20-
'License :: OSI Approved :: MIT License',
21-
'Operating System :: OS Independent',
22-
'Programming Language :: Python',
23-
'Topic :: Software Development',
24-
'Programming Language :: Python :: 2',
25-
'Programming Language :: Python :: 3',
26-
'Framework :: Django',
27-
'Framework :: Django :: 1.8',
28-
'Framework :: Django :: 1.9',
29-
],
30-
packages=find_packages(exclude=[
31-
"*.tests", "*.tests.*", "tests.*", "tests", ".egg-info"
32-
]),
33-
include_package_data=True,
34-
install_requires=[
35-
'pillow>=2.5',
36-
'progressbar2>=3.0.0',
37-
],
5+
setup_requires=['pbr'],
6+
pbr=True,
387
)

0 commit comments

Comments
 (0)
0