-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
50 lines (46 loc) · 1.49 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
#!/usr/bin/env python
from setuptools import setup, find_packages
import os
import cmsplugin_photologue
media_files = []
for dirpath, dirnames, filenames in os.walk('cmsplugin_photologue'):
media_files.append([dirpath, [os.path.join(dirpath, f) for f in filenames]])
setup(
author="adamcupial",
name='cmsplugin-photologue',
version=cmsplugin_photologue.__version__,
description='plugin bridge between django-cms & django-photologue',
long_description=open(os.path.join(os.path.dirname(__file__), 'README.txt')).read(),
url='http://github.com/adamcupial/cmsplugin-photologue',
license='BSD License',
platforms=['OS Independent'],
requires=[
'django (>=2.1.0)',
'cms (>=1.2)',
],
packages=find_packages(),
package_dir={
'cmsplugin_photologue': 'cmsplugin_photologue',
},
data_files = media_files,
package_data = {
'cmsplugin_photologue': [
'templates/*.html',
'locale/*.mo',
'locale/*.po',
'templates/plugins/cmsplugin_photologue/*.html',
],
},
include_package_data=True,
install_requires=['setuptools'],
zip_safe = False,
classifiers = [
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Framework :: Django',
],
)