forked from knagra/farnsworth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (54 loc) · 1.87 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
57
58
59
import os
from setuptools import setup, find_packages
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
try:
from pypandoc import convert
README = convert("README.md", 'rst')
except (ImportError, OSError):
print("warning: pypandoc module not found, could not convert Markdown to RST")
README = open("README.md", 'r').read()
required = [
"Django>=1.6",
"django-bootstrap-form>=3.1",
"django-haystack",
"elasticsearch==1.0.0",
]
setup(
name="Farnsworth",
version="2.0.2",
author="Karandeep Nagra",
url="https://github.com/knagra/farnsworth",
author_email="karandeepsnagra@gmail.com",
packages=find_packages(),
include_package_data=True,
description="Website for BSC houses.",
long_description=README,
install_requires=required + ["elasticsearch>=1.0.0"],
tests_require=required,
test_suite="runtests.runtests",
package_data={
"": ["*/static/*/*/*", "*/templates/*", "templates/search/*/*/*"],
},
classifiers=[
"Environment :: Web Environment",
"Framework :: Django",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 2",
"Programming Language :: Python :: 2.6",
"Programming Language :: Python :: 2.7",
"Programming Language :: Python :: 3.3",
"Programming Language :: Python :: 3.4",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
],
dependency_links=[
"git://github.com/toastdriven/django-haystack.git#egg=django_haystack-master",
# "git://github.com/django/django.git#egg=django-1.7c1",
],
extras_require={
"PostgreSQL": ["psycopg2"],
"social-auth": ["python-social-auth"],
},
)