diff options
author | willmcgugan@gmail.com <willmcgugan@gmail.com@67cdc799-7952-0410-af00-57a81ceafa0f> | 2013-03-31 21:30:34 +0000 |
---|---|---|
committer | willmcgugan@gmail.com <willmcgugan@gmail.com@67cdc799-7952-0410-af00-57a81ceafa0f> | 2013-03-31 21:30:34 +0000 |
commit | 838bfcd555fd6e4cd7eceaa7ccdbbdc78986cc06 (patch) | |
tree | 5547f10f29e28894ae70ff5b97e858456f94103a /setup.py | |
parent | 8c1e089ad130972b7867b393226b276f56c82ecb (diff) | |
download | pyfilesystem-838bfcd555fd6e4cd7eceaa7ccdbbdc78986cc06.tar.gz |
Change of api (fs.open, fs.setcontent, fs.getcontents) to support io module in Py2.6+ and Py3
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@854 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -28,7 +28,6 @@ classifiers = [ 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Programming Language :: Python', - 'Programming Language :: Python :: 2.5', 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', @@ -41,7 +40,7 @@ Even if you only need to work with file and directories on the local hard-drive, """ extra = {} -if PY3: +if PY3: extra["use_2to3"] = True setup(install_requires=['distribute', 'six'], @@ -49,12 +48,12 @@ setup(install_requires=['distribute', 'six'], version=VERSION, description="Filesystem abstraction", long_description=long_desc, - license = "BSD", + 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", - platforms = ['any'], + platforms=['any'], packages=['fs', 'fs.expose', 'fs.expose.dokan', @@ -66,10 +65,10 @@ setup(install_requires=['distribute', 'six'], 'fs.contrib', 'fs.contrib.bigfs', 'fs.contrib.davfs', - 'fs.contrib.tahoelafs', + 'fs.contrib.tahoelafs', 'fs.commands'], + package_data={'fs': ['tests/data/*.txt']}, scripts=['fs/commands/%s' % command for command in COMMANDS], classifiers=classifiers, **extra ) - |