forked from hydralabs/pyamf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply readme.patch: Make the README.txt import more robust
Author: thijs Reviewer: nick Fixes: #534 git-svn-id: https://svn.pyamf.org/pyamf/trunk@2435 2dde4cc4-cf3c-0410-b1a3-a9b8ff274da5
- Loading branch information
Thijs Triemstra
committed
May 26, 2009
1 parent
d6f5ec2
commit 7e249c2
Showing
1 changed file
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
|
||
use_setuptools() | ||
|
||
import sys | ||
import sys, os.path | ||
from setuptools import setup, find_packages, Extension | ||
from setuptools.command import test | ||
|
||
|
@@ -43,7 +43,6 @@ def get_version(): | |
@since: 0.4 | ||
""" | ||
import os.path | ||
# we read the file instead of importing it as root sometimes does not | ||
# have the cwd as part of the PYTHONPATH | ||
|
||
|
@@ -150,10 +149,12 @@ def get_install_requirements(): | |
objectproxy arraycollection recordset actionscript decoder encoder | ||
gateway remoteobject twisted pylons django sharedobject lso sol""" | ||
|
||
readme = os.path.join(os.path.dirname(__file__), 'README.txt') | ||
|
||
setup(name = "PyAMF", | ||
version = get_version(), | ||
description = "AMF support for Python", | ||
long_description = open('README.txt', 'rt').read(), | ||
long_description = open(readme, 'rt').read(), | ||
url = "http://pyamf.org", | ||
author = "The PyAMF Project", | ||
author_email = "[email protected]", | ||
|