diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index f0f93fa..0000000 --- a/setup.cfg +++ /dev/null @@ -1,3 +0,0 @@ -[bdist_rpm] -doc_files = LICENSE.txt README.txt HISTORY.txt html test - diff --git a/setup.py b/setup.py index 8f04ae6..ef59e01 100644 --- a/setup.py +++ b/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"