-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
56 lines (49 loc) · 1.72 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
# Copyright (C) 2014 Glamping Hub (https://glampinghub.com)
# License: BSD 3-Clause
import fnmatch
import os
from setuptools import setup, find_packages
def read(*rnames):
return open(os.path.join(os.path.dirname(__file__), *rnames)).read()
def recursive_include(directory, patterns):
result = []
for root, dirs, files in os.walk(directory):
child_root = root.replace(directory, '').lstrip('/')
for pattern in patterns:
result.extend([os.path.join(child_root, name)
for name in fnmatch.filter(files, pattern)])
return result
setup(
name='django-painless-seo',
version='0.2.0',
author='Glamping Hub',
author_email='it@glampinghub.com',
packages=find_packages('.'),
include_package_data=True,
package_data={
'': recursive_include('painlessseo', [
'*.html', '*.css', '*.js', '*.txt', '*.png', '*.ico', '*.wsgi',
'*.xml', '*.gif', '*.jpg', '*.otf', '*.svg', '*.example', '*.woff',
'*.md',
])
},
url='https://github.com/Glamping-Hub/django-painless-seo',
license='BSD',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Environment :: Web Environment',
'Framework :: Django',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2 :: Only',
'Topic :: Software Development :: Libraries :: Python Modules',
'Topic :: Internet'
],
description='Painless SEO app for Django framework',
keywords='seo django',
long_description=open('README.md').read(),
requires=[
'Django (>=1.5.0)',
],
)