-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathsetup.py
79 lines (70 loc) · 2.24 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#!/usr/bin/env python
''' XXX: allow dist building on vagrant
source: http://bugs.python.org/issue8876
'''
import os
del os.link
from setuptools import setup, find_packages # noqa: E402
''' To make a new release:
1. Bump version number in setup.py
2. Update CHANGELOG
3. $ git commit ...
4. $ git tag -a x.x.x # see `git tags` for latest
5. $ git push origin master
6. $ git push --tags
7. $ python setup.py register sdist
8. $ twine upload dist/*
'''
VERSION = '.'.join(('0', '2', '9'))
DESCRIPTION = 'A Django app for DRY thumbnails in admin list views and forms.'
CLASSIFIERS = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Framework :: Django',
'Framework :: Django :: 1.10',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.0',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Framework :: Django :: 3.1',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
]
setup(
name='django-admin-thumbnails',
version=VERSION,
description=DESCRIPTION,
long_description=open('README.md', 'r', encoding='utf-8').read(),
long_description_content_type='text/markdown',
author='James Tiplady',
maintainer='James Tiplady',
license='MIT',
keywords=['django'],
platforms=['OS Independent'],
url='http://github.com/BigglesZX/django-admin-thumbnails',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
python_requires='>=2.6,<4',
install_requires=['Django>=1.10', 'six>=1.12.0'],
extras_require={
'dev': [
'flake8>=3.7.7',
'setuptools>=41.0.0',
'twine>=1.13.0',
'wheel>=0.33.1',
]
},
classifiers=CLASSIFIERS
)