-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathsetup.py
More file actions
47 lines (43 loc) · 1.09 KB
/
setup.py
File metadata and controls
47 lines (43 loc) · 1.09 KB
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
import os
from setuptools import setup, find_packages
import cmsplugin_pdf as app
def read(fname):
try:
return open(os.path.join(os.path.dirname(__file__), fname)).read()
except IOError:
return ''
setup(
name="cmsplugin-pdf",
version=app.__version__,
description=read('DESCRIPTION'),
long_description=read('README.rst'),
license='The MIT License',
platforms=['OS Independent'],
keywords='django, pdf, cms, plugin, placeholder',
author='Daniel Kaufhold',
author_email='daniel.kaufhold@bitmazk.com',
url="https://github.com/bitmazk/cmsplugin-pdf",
packages=find_packages(),
include_package_data=True,
install_requires=[
'Django>=1.4.2',
'South',
'django-cms',
'django-filer',
'Pillow',
'Wand',
'pyPdf',
],
tests_require=[
'fabric',
'factory_boy<=2.0.0',
'django-nose',
'coverage',
'django-coverage',
'mock',
'django-libs',
'flake8',
'ipdb',
],
test_suite='cmsplugin_pdf.tests.runtests.runtests',
)