Put the options directly in the setup.py rather than in setup.cfg.

This commit is contained in:
Anthony Tuininga 2007-09-05 04:53:12 +00:00
parent e0d607ce77
commit dd3088cf8a
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +0,0 @@
[bdist_rpm]
doc_files = LICENSE.txt README.txt HISTORY.txt html test

View File

@ -33,6 +33,9 @@ if sys.platform in ("win32", "cygwin"):
files.append(name)
dataFiles.append( ("%s/%s" % (baseName, dir), files) )
# define the list of files to be included as documentation for bdist_rpm
docFiles = "LICENSE.txt README.txt HISTORY.txt html test"
# try to determine the ORACLE_HOME
oracleHome = os.environ.get("ORACLE_HOME")
if oracleHome is None:
@ -119,6 +122,7 @@ setup(
description = "Python interface to Oracle",
license = "See LICENSE.txt",
data_files = dataFiles,
options = dict(bdist_rpm = dict(doc_files = docFiles)),
long_description = \
"Python interface to Oracle conforming to the Python DB API 2.0 "
"specification.\n"