filedownload's People
filedownload's Issues
getURLFileSize using request when possible
if user get file size using urllib2Obj.headers.get('content-length') it will
grab the whole file in memory. so this is slower in comparison to requests
while incase requests fail to get size and returns 0 or None use the old method
Original issue reported on code.google.com by [email protected]
on 6 Jul 2014 at 12:04
Attachments:
Package does not install the module on Linux
I have tried to install this module using pip, easy_install and the setup.py
file in the zip file. They install the other files in the
fileDownloader.py.egg-info directory in the package but not the module itself.
I'm using Ubuntu Linux 10.10 and Python 2.6.
The output I get from install attempts is below:
$ sudo easy_install fileDownloader.py
install_dir /usr/local/lib/python2.6/dist-packages/
Searching for fileDownloader.py
Reading http://pypi.python.org/simple/fileDownloader.py/
Reading http://bantonj.wordpress.com/software/open-source/
Reading http://code.google.com/p/filedownload/downloads/list
Reading
http://code.google.com/p/filedownload/downloads/detail?name=fileDownloader.py-0.
1.zip&can=2&q=
Best match: fileDownloader.py 0.2.1
Downloading http://filedownload.googlecode.com/files/fileDownloader.py-0.2.1.zip
Processing fileDownloader.py-0.2.1.zip
Running fileDownloader.py-0.2.1/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-84SpmM/fileDownloader.py-0.2.1/egg-dist-tmp-K0XMAo
warning: install_lib: 'build/lib.linux-i686-2.6' does not exist -- no Python
modules to install
zip_safe flag not set; analyzing archive contents...
Adding fileDownloader.py 0.2.1 to easy-install.pth file
Installed
/usr/local/lib/python2.6/dist-packages/fileDownloader.py-0.2.1-py2.6.egg
Processing dependencies for fileDownloader.py
Finished processing dependencies for fileDownloader.py
$ sudo python setup.py install
running install
install_dir /usr/local/lib/python2.6/dist-packages/
Checking .pth file support in /usr/local/lib/python2.6/dist-packages/
/usr/bin/python -E -c pass
TEST PASSED: /usr/local/lib/python2.6/dist-packages/ appears to support .pth
files
running bdist_egg
running egg_info
writing fileDownloader.py.egg-info/PKG-INFO
writing top-level names to fileDownloader.py.egg-info/top_level.txt
writing dependency_links to fileDownloader.py.egg-info/dependency_links.txt
reading manifest file 'fileDownloader.py.egg-info/SOURCES.txt'
writing manifest file 'fileDownloader.py.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-i686/egg
running install_lib
warning: install_lib: 'build/lib.linux-i686-2.6' does not exist -- no Python
modules to install
creating build
creating build/bdist.linux-i686
creating build/bdist.linux-i686/egg
creating build/bdist.linux-i686/egg/EGG-INFO
copying fileDownloader.py.egg-info/PKG-INFO ->
build/bdist.linux-i686/egg/EGG-INFO
copying fileDownloader.py.egg-info/SOURCES.txt ->
build/bdist.linux-i686/egg/EGG-INFO
copying fileDownloader.py.egg-info/dependency_links.txt ->
build/bdist.linux-i686/egg/EGG-INFO
copying fileDownloader.py.egg-info/top_level.txt ->
build/bdist.linux-i686/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/fileDownloader.py-0.2.1-py2.6.egg' and adding
'build/bdist.linux-i686/egg' to it
removing 'build/bdist.linux-i686/egg' (and everything under it)
Processing fileDownloader.py-0.2.1-py2.6.egg
creating
/usr/local/lib/python2.6/dist-packages/fileDownloader.py-0.2.1-py2.6.egg
Extracting fileDownloader.py-0.2.1-py2.6.egg to
/usr/local/lib/python2.6/dist-packages
Adding fileDownloader.py 0.2.1 to easy-install.pth file
Installed
/usr/local/lib/python2.6/dist-packages/fileDownloader.py-0.2.1-py2.6.egg
Processing dependencies for fileDownloader.py==0.2.1
Finished processing dependencies for fileDownloader.py==0.2.1
Original issue reported on code.google.com by [email protected]
on 5 Oct 2010 at 5:37
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.