-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathsetup.py
65 lines (61 loc) · 2.07 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
try:
from setuptools import setup, find_packages
except ImportError:
from ez_setup import use_setuptools
use_setuptools()
from setuptools import setup, find_packages
import smartfields
import os, sys
def read(fname):
path = os.path.join(os.path.dirname(__file__), fname)
if sys.version < '3':
return open(path).read()
return open(path, encoding="utf-8").read()
setup(
name='django-smartfields',
version=smartfields.get_version(),
packages=find_packages(),
description="Django Model Fields that are smart.",
long_description='%s\n\n%s' % (read('README.rst'), read('CHANGELOG.rst')),
author='Alexey Kuleshevich',
author_email='[email protected]',
license='MIT License',
url='https://github.com/lehins/django-smartfields',
platforms=["any"],
classifiers=[
'Development Status :: 4 - Beta',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Topic :: Software Development :: Libraries :: Python Modules'
],
keywords=[
"django", "model fields", "declarative", "FileField cleanup",
"FileField conversion", "ImageField conversion", "ajax uploading"
],
install_requires=[
'Django>=1.5.0', 'six'
],
tests_require=[
'Django>=1.5.0',
'beautifulsoup4',
'Pillow>=2.5.0',
'Wand',
'lxml',
'django-crispy-forms'
],
test_suite='runtests.runtests'
)