summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fs/__init__.py2
-rw-r--r--setup.py13
2 files changed, 6 insertions, 9 deletions
diff --git a/fs/__init__.py b/fs/__init__.py
index 414c9c3..4513074 100644
--- a/fs/__init__.py
+++ b/fs/__init__.py
@@ -15,7 +15,7 @@ implementations of this interface such as:
"""
-__version__ = "0.5.0"
+__version__ = "0.5.1"
__author__ = "Will McGugan (will@willmcgugan.com)"
# provide these by default so people can use 'fs.path.basename' etc.
diff --git a/setup.py b/setup.py
index ea8f1dc..0245e94 100644
--- a/setup.py
+++ b/setup.py
@@ -1,16 +1,12 @@
#!/usr/bin/env python
-#from distribute_setup import use_setuptools
-#use_setuptools()
-
from setuptools import setup
import sys
PY3 = sys.version_info >= (3,)
-VERSION = "0.5.1-dev"
+VERSION = "0.5.1"
COMMANDS = ['fscat',
- 'fscp',
'fsinfo',
'fsls',
'fsmv',
@@ -22,6 +18,9 @@ COMMANDS = ['fscat',
'fsmount']
+CONSOLE_SCRIPTS = ['{0} = fs.commands.{0}:run'.format(command)
+ for command in COMMANDS]
+
classifiers = [
"Development Status :: 5 - Production/Stable",
'Intended Audience :: Developers',
@@ -50,8 +49,6 @@ setup(install_requires=['setuptools', 'six'],
license="BSD",
author="Will McGugan",
author_email="will@willmcgugan.com",
- #url="http://code.google.com/p/pyfilesystem/",
- #download_url="http://code.google.com/p/pyfilesystem/downloads/list",
url="http://pypi.python.org/pypi/fs/",
platforms=['any'],
packages=['fs',
@@ -68,7 +65,7 @@ setup(install_requires=['setuptools', 'six'],
'fs.contrib.tahoelafs',
'fs.commands'],
package_data={'fs': ['tests/data/*.txt']},
- scripts=['fs/commands/%s' % command for command in COMMANDS],
+ entry_points={"console_scripts": CONSOLE_SCRIPTS},
classifiers=classifiers,
**extra
)