Commits

Kirill Simonov  committed 38922b1

Moved distutils options to `setup.cfg`.

Also added (but commented out) a command to build a DEB package
(requires `stdeb`).

  • Participants
  • Parent commits 12fc0f2

Comments (0)

Files changed (3)

 	sphinx-build -b html doc build/doc
 
 # Build a source and an EGG distributions.
-# FIXME: include HTML documentation.
+# FIXME: include HTML documentation; `dist_dir` is broken for `--bdist-deb`.
+# Note that `bdist_deb` requires `stdeb` package.
 dist:
 	rm -rf build
-	python setup.py sdist --formats=zip,gztar -d build/dist
-	python setup.py bdist_egg -d build/dist
+	python setup.py sdist
+	python setup.py bdist_egg
+	#python setup.py --command-packages=stdeb.command bdist_deb 
 
 # Register and upload the package to PyPI.
 # FIXME: include HTML documentation.
 pypi:
 	rm -rf build
-	python setup.py register sdist -d build/dist bdist_egg -d build/dist upload
+	python setup.py register sdist bdist_egg upload
 
 #
 # Regression testing tasks.
     http://bitbucket.org/prometheus/htsql
         HTSQL source code;
 
-    #htsql on freenode;
+    #htsql on freenode
         Our IRC channel;
 
     http://lists.htsql.org/mailman/listinfo/htsql-users
+# This file provides values for Distutils/Setuptools command options.
+
+# Build a source distribution.
+[sdist]
+# Comma-separated list of archive formats.
+formats=zip,gztar
+# Directory to put the generated archives.
+dist-dir=build/dist/src
+
+# Build an EGG binary distribution.
+[bdist_egg]
+# Directory to put the generated EGG file.
+dist-dir=build/dist/egg
+
+# Build a DEB binary distribution.
+[sdist_dsc]
+# Directory to put the generated DEB file (broken!).
+#dist-dir=build/dist/deb
+