# HG changeset patch -- Bitbucket.org # Project pylib # URL http://bitbucket.org/hpk42/pylib/overview # User holger krekel <hol...@merlinux.eu> # Date 1290102170 -3600 # Node ID 52d3b11bd299c609a25fcf701a4a6bf132736a6a # Parent bd406471f39498a5f9e99c53315378e83702becd refine docs, README -> setup.py
--- a/doc/Makefile +++ b/doc/Makefile @@ -36,6 +36,9 @@ help: clean: -rm -rf $(BUILDDIR)/* +install: clean html + rsync -avz _build/html/ code:www-pylib/2.0.0 + html: $(SPHINXBUILD) -b html $(ALLSPHINXOPTS) $(BUILDDIR)/html @echo --- a/setup.py +++ b/setup.py @@ -4,30 +4,11 @@ if sys.version_info >= (3,0): use_setuptools() from setuptools import setup -long_description = """ -pylib: cross-python development utils - -py.path.local: local path objects -py.path.svnwc: local subversion WC paths -py.io: io-capturing on filedescriptor or sys.* level - -Platforms: Linux, Win32, OSX - -Interpreters: Python versions 2.4 through to 3.2, Jython 2.5.1 and PyPy - -Web page: http://pylib.org - -Bugs and issues: http://bitbucket.org/hpk42/pylib/issues/ - -Mailing lists and more contact points: http://pylib.org/contact.html - -(c) Holger Krekel and others, 2004-2010 -""" def main(): setup( name='pylib', - description='pylib: cross-python path, io, code, log facilities', - long_description = long_description, + description='pylib: cross-python path, ini-parsing, io, code, log facilities', + long_description = open('README.txt').read(), install_requires=['py>=1.3.9', ], # force newer py version which removes 'py' namespace # # so we can occupy it version='2.0.0.dev7', --- a/README.txt +++ b/README.txt @@ -8,3 +8,10 @@ the following tools and modules: * py.path: uniform local and svn path objects For questions and more information please visit http://pylib.org + +Bugs and issues: http://bitbucket.org/hpk42/pylib/issues/ + +Mailing lists and more contact points: http://pylib.org/contact.html + +(c) Holger Krekel and others, 2004-2010 + --- a/doc/conf.py +++ b/doc/conf.py @@ -48,9 +48,11 @@ copyright = u'2010, holger krekel et. al # built documents. # # The short X.Y version. -version = '2.0' +version = '2.0.0' # The full version, including alpha/beta/rc tags. -release = '2.0.0.dev0' +import py, pytest +assert py.path.local().relto(py.path.local(py.__file__).dirpath().dirpath()) +release = py.__version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. _______________________________________________ py-svn mailing list py-svn@codespeak.net http://codespeak.net/mailman/listinfo/py-svn