Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unmet dependency py-dom-xpath >= 0.1 #1

Open
danmilon opened this issue Mar 31, 2014 · 1 comment
Open

unmet dependency py-dom-xpath >= 0.1 #1

danmilon opened this issue Mar 31, 2014 · 1 comment

Comments

@danmilon
Copy link

On pip install the following error occurs.

$ pip install genemail
Downloading/unpacking genemail
  Downloading genemail-0.1.11.tar.gz (44kB): 44kB downloaded
  Running setup.py (path:/home/danmilon/Documents/dev/lexis-backend/venv/build/genemail/setup.py) egg_info for package genemail

Downloading/unpacking distribute>=0.6.24 (from genemail)
  Downloading distribute-0.7.3.zip (145kB): 145kB downloaded
  Running setup.py (path:/home/danmilon/Documents/dev/lexis-backend/venv/build/distribute/setup.py) egg_info for package distribute

Downloading/unpacking TemplateAlchemy>=0.1.20 (from genemail)
  Downloading TemplateAlchemy-0.1.20.tar.gz
  Running setup.py (path:/home/danmilon/Documents/dev/lexis-backend/venv/build/TemplateAlchemy/setup.py) egg_info for package TemplateAlchemy

    warning: no files found matching '*.txt' under directory 'docs'
    warning: no files found matching '*.rst' under directory 'docs'
Downloading/unpacking cssutils>=0.9.10b1 (from genemail)
  Downloading cssutils-1.0.zip (434kB): 434kB downloaded
  Running setup.py (path:/home/danmilon/Documents/dev/lexis-backend/venv/build/cssutils/setup.py) egg_info for package cssutils

Downloading/unpacking cssselect>=0.7.1 (from genemail)
  Downloading cssselect-0.9.1.tar.gz
  Running setup.py (path:/home/danmilon/Documents/dev/lexis-backend/venv/build/cssselect/setup.py) egg_info for package cssselect

    no previously-included directories found matching 'docs/_build'
Downloading/unpacking py-dom-xpath>=0.1 (from genemail)
  Could not find any downloads that satisfy the requirement py-dom-xpath>=0.1 (from genemail)
  Some externally hosted files were ignored (use --allow-external py-dom-xpath to allow).
Cleaning up...
No distributions at all found for py-dom-xpath>=0.1 (from genemail)
Storing debug log for failure in /home/danmilon/.pip/pip.log
$ python --version
Python 3.3.5
@grabner
Copy link
Member

grabner commented Mar 31, 2014

there are two issues: 1) that py-dom-xpath is not directly hosted on pypi (so you need to use the --allow-external flag), and 2) py-dom-xpath (a required dependency) currently is not py3 compatible.

you can try to push py-dom-xpath to add py3 support (http://code.google.com/p/py-dom-xpath/), but the project appears to have been dormant for the past 3 years...

perhaps a better approach would be to replace py-dom-xpath with a different xpath engine, such as lxml. lxml was not used due to how annoyingly long it takes to compile & install it - maybe there are other xpath implementations now? or maybe that is just the cost of using xpath.

replacing py-dom-xpath is currently not a priority, but any PRs would be welcomed. (please note that ensuring genemail works with py3 may be more involved than usual since there is a lot of unicode handling.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants