forked from whyflyru/django-seo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
executable file
·50 lines (45 loc) · 1.47 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
# -*- coding: UTF-8 -*-
from setuptools import setup, find_packages
def read_version():
"""
Extracts the version number from the version.py file.
"""
version_file = 'djangoseo/version.py'
v_locals = {}
exec(open(version_file).read(), globals(), v_locals)
return v_locals['__version__']
setup(
name="django-seo",
version=read_version(),
packages=find_packages(exclude=["docs*", "tests*"]),
install_requires=['Django>=1.10'],
author="Will Hardy",
author_email="[email protected]",
description="A framework for managing SEO metadata in Django.",
long_description=open('README.rst').read(),
license="LICENSE",
keywords="seo, django, framework",
url="https://github.com/whyflyru/django-seo",
include_package_data=True,
zip_safe=False,
classifiers=[
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: Django",
"Intended Audience :: Developers",
"Programming Language :: Python",
"License :: OSI Approved :: Apache Software License",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Topic :: Software Development"
],
test_suite='tests.runtests.runtests',
test_requires=['coveralls', 'coverage', 'django-discover-runner'],
package_data={
'djangoseo': [
'locale/*/*/*.mo',
'locale/*/*/*.po',
]
}
)