-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
69 lines (62 loc) · 2.01 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
#!/usr/bin/env python
''' 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 tag` for latest
5. $ git push origin main
6. $ git push --tags
7. $ python setup.py register sdist
8. $ twine upload dist/*
'''
from setuptools import setup, find_packages # noqa: E402
VERSION = '.'.join(('0', '3', '0'))
DESCRIPTION = '''Drag-and-drop multiple uploading of related images/files for
Django admin, using Dropzone.js'''
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 :: 3.6',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Software Development :: Libraries :: Application Frameworks',
'Framework :: Django',
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
]
setup(
name='django-dragndrop-related',
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-dragndrop-related',
packages=find_packages(),
include_package_data=True,
zip_safe=False,
python_requires='>=3.6,<4',
install_requires=['Django>=3.2'],
extras_require={
'dev': [
'Django>=3.2',
'django-admin-thumbnails>=0.2.6',
'django-cleanup>=6.0.0',
'flake8>=3.7.7',
'ipdb>=0.13.13',
'ipython>=8.12.2',
'Pillow>=9.1.1',
'setuptools>=41.0.0',
'twine>=1.13.0',
'wheel>=0.33.1',
]
},
classifiers=CLASSIFIERS
)