mirror of
https://github.com/Hopiu/django-watson.git
synced 2026-03-16 22:00:22 +00:00
setup.py should be callable from anywhere
Use os.path.dirname(__file__) to locate README.markdown, debian packaging is broken without it.
This commit is contained in:
parent
9aec9f111a
commit
9e8cc5ffcb
1 changed files with 2 additions and 1 deletions
3
setup.py
3
setup.py
|
|
@ -1,3 +1,4 @@
|
|||
import os
|
||||
from distutils.core import setup
|
||||
|
||||
|
||||
|
|
@ -5,7 +6,7 @@ setup(
|
|||
name = "django-watson",
|
||||
version = "1.1.3",
|
||||
description = "Full-text multi-table search application for Django. Easy to install and use, with good performance.",
|
||||
long_description = open("README.markdown").read(),
|
||||
long_description = open(os.path.join(os.path.dirname(__file__), "README.markdown")).read(),
|
||||
author = "Dave Hall",
|
||||
author_email = "dave@etianen.com",
|
||||
url = "http://github.com/etianen/django-watson",
|
||||
|
|
|
|||
Loading…
Reference in a new issue