Put the options directly in the setup.py rather than in setup.cfg.
This commit is contained in:
parent
e0d607ce77
commit
dd3088cf8a
|
@ -1,3 +0,0 @@
|
|||
[bdist_rpm]
|
||||
doc_files = LICENSE.txt README.txt HISTORY.txt html test
|
||||
|
4
setup.py
4
setup.py
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue