-
Notifications
You must be signed in to change notification settings - Fork 77
/
setup.py
53 lines (46 loc) · 1.55 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
#! /usr/bin/env python
import os
from setuptools import setup, find_packages
from django_seo_js import VERSION
ROOT_DIR = os.path.dirname(__file__)
SOURCE_DIR = os.path.join(ROOT_DIR)
reqs = []
with open("requirements.txt", "r+") as f:
for line in f.readlines():
reqs.append(line.strip())
test_reqs = []
with open("requirements.tests.txt", "r+") as f:
for line in f.readlines():
test_reqs.append(line.strip())
try:
import pypandoc
long_description = pypandoc.convert('README.md', 'rst')
except (IOError, ImportError):
long_description = ''
setup(
name="django-seo-js",
description="SEO support for angular, backbone, "
"ember, famo.us, and other SPA apps "
"built with django.",
long_description=long_description,
author="Steven Skoczen",
author_email="[email protected]",
url="https://github.com/skoczen/django-seo-js",
version=VERSION,
install_requires=reqs,
tests_require=test_reqs,
packages=find_packages(),
include_package_data=True,
keywords=["seo", "django", "ajax", "angular", "backbone",
"ember", "famous", "google", "bing", "yahoo"],
classifiers=[
"Programming Language :: Python",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries :: Python Modules",
],
)