[Compactpath-commit] SF.net SVN: compactpath: [9] trunk/src/setup.py
Status: Beta
Brought to you by:
jurner
|
From: <ju...@us...> - 2008-06-18 07:30:55
|
Revision: 9
http://compactpath.svn.sourceforge.net/compactpath/?rev=9&view=rev
Author: jurner
Date: 2008-06-18 00:30:53 -0700 (Wed, 18 Jun 2008)
Log Message:
-----------
rework
Modified Paths:
--------------
trunk/src/setup.py
Modified: trunk/src/setup.py
===================================================================
--- trunk/src/setup.py 2008-06-18 07:30:17 UTC (rev 8)
+++ trunk/src/setup.py 2008-06-18 07:30:53 UTC (rev 9)
@@ -1,55 +1,49 @@
-
+"""a python package to compact filepaths to a desired length
+
+the package provides means to handle compacting of filepaths. compacting of filepaths
+may be useful in gui programming for example where filepaths of arbitrary length have
+to be displayed in widgets with limited visula space.
+
+the package is designed so you can use it as from everywhere. no need to install it to
+site-packages, in case you want to include it in a project. it comes equipped with a
+wrapper for labels to handle filepaths of arbitrary length in qt4.
+"""
+
from distutils.core import setup
AUTHOR = 'Juergen Urner'
AUTHOR_EMAIL = 'jU...@ar...'
CLASSIFIERS = [
- 'Development Status :: 3 - Alpha',
+ 'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python',
'Topic :: System :: Filesystems',
]
-DESCRIPTION = 'a python package to compact filepaths to a desired length'
DOWNLOAD=''
-LONG_DESCRIPTION = '''the package provides means to handle compacting of filepaths.
-this may be useful for gui programming for example where filepaths may be too long
-to fit into a certain widget and need to be compacted. compacting is done by inserting
-an ellipsis for unneeded parts, making shure the last component of a filepath remains
-visible to the user as long as possible.
-
-the package is designed so you can use it as from everywhere. no need to install it to
-site-packages, in case you want to include it in a project. it comes equipped with a
-wrapper for labels to handle filepaths of arbitrary length in qt4.
-
-to generate the documentation use epydoc
-'''
NAME = 'compactpath'
URL = 'https://sourceforge.net/projects/compactpath/'
VERSION = '0.5.0'
MODULES = ['compactpath', ]
-#PKG = {'': ''}
DATA = {}
+
if __name__ == '__main__':
setup(
author = AUTHOR,
author_email = AUTHOR_EMAIL,
classifiers=CLASSIFIERS,
- description=DESCRIPTION,
+ description=__doc__.split('\n')[0],
download_url=DOWNLOAD,
- long_description=DESCRIPTION,
+ long_description='\n'.join(__doc__.split('\n')[2:]),
name=NAME,
url=URL,
version=VERSION,
license='MIT licence',
platforms=['Many', ],
-
- #package_dir=PKG,
-
py_modules=MODULES,
package_data = DATA
)
\ No newline at end of file
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|