Comments (11)
So after looking into this it's because pip can't handle eggs, it wants sdist either .tar.gz or .zip.
from python-readability.
How about now? Added ".tar.gz" and few platform-specific versions.
from python-readability.
Hmm, I'm getting errors on install now. I'll take a peek at the setup.py tonight after work and see if I can't see what's up.
% pip install readability-lxml
Downloading/unpacking readability-lxml
Downloading readability-lxml-0.2.4.macosx-10.7-intel.tar.gz
Running setup.py egg_info for package readability-lxml
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/home/rharding/tmp/readtest/build/readability-lxml/setup.py'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
IOError: [Errno 2] No such file or directory: '/home/rharding/tmp/readtest/build/readability-lxml/setup.py'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /home/rharding/tmp/readtest/build/readability-lxml
Storing complete log in /home/rharding/.pip/pip.log
And if I ls the build dir it's trying to use:
% ls /home/rharding/tmp/readtest/build/readability-lxml
Library/ pip-egg-info/
I'm guessing it'll need some Manifest file foo or something.
from python-readability.
Updated the seutp.py to be explicit in the package discovery. Also made sure to ignore the tests directories.
Since there was a 0.2.4 tar.gz I had to increment the version to upload a corrected .tar.gz that I've tested on a pair of different machines to work now. This should be corrected.
from python-readability.
The 0.2.5 version is broken on PyPI: there's no .py file in the source distribution!
from python-readability.
Hah, it worked locally because I had the readability dir right in front of me in my cwd. Sorry for the breakage.
For the moment please try installing either the 0.2.4 egg with easy_install or the 0.2.3 with pip
pip install readability_lxml==0.2.3
I'll see if I can get the tar.gz updated.
from python-readability.
I've updated pypi so that the 0.2.3 is the 'current' release until we can get it squared away.
from python-readability.
Pip still took 0.2.4 even though it was not latest version -- so
removed it from pypi for now.
On Thu, Apr 19, 2012 at 2:18 AM, Rick Harding
[email protected]
wrote:
I've updated pypi so that the 0.2.3 is the 'current' release until we can get it squared away.
Reply to this email directly or view it on GitHub:
#16 (comment)
Best regards, Yuri V. Baburov, Skype: yuri.baburov, MSN: [email protected]
from python-readability.
No problem, I fixed my project dependencies to the 0.2.4 version, until you fix the problem. Nice piece of software ;)
from python-readability.
Put downloadable version 0.2.5 to pypi.
from python-readability.
With pull request 19 being merged, this should not be a problem anymore in future uploads.
from python-readability.
Related Issues (20)
- Inlining images?
- re._pattern_type has been removed in favor of re.Pattern in Python 3.7
- No chance for GitHub commit page? HOT 1
- RuntimeWarning and Correct invocation on the shell command line (not python script) HOT 1
- Missing <p>-text
- REGEXES["divToPElementsRe"] logical error HOT 3
- Error when using positive_keywords (or negative_keywords) argument with python >= 3.7 HOT 1
- .text may guess the encoding incorrectly HOT 4
- Does not handle github pages
- <p> wrongly inserted before <i> or <b>
- Problems with thecyberwire.com
- Circular import error for pip install readability-lxml HOT 4
- isProbablyReaderable HOT 3
- Issue with utf8 and HTML entities HOT 2
- Last two commands in the "usage" section are incorrect
- `test_many_repeated_spaces` fails on darwin python 3.8, 3.9 & 3.10
- Consider switching from lxml's clean_html for enhanced security (and possibly performance) HOT 5
- Summary is fooled by a modal popup
- Readability of MSN articles
- "comment" in unlikely candidates mutilates formatted code blocks HOT 1
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.
from python-readability.