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

Can't import xqueue-watcher to other project as a package #53

Open
Reasunta opened this issue Dec 6, 2020 · 0 comments
Open

Can't import xqueue-watcher to other project as a package #53

Reasunta opened this issue Dec 6, 2020 · 0 comments

Comments

@Reasunta
Copy link

Reasunta commented Dec 6, 2020

Hi all.

I'd like to use xqueue-watcher as a package to create my own watcher as child class of Grader, as described here.
In order to do that I created new project and tried to import the watcher there via a command:
pip install -r requirements.txt
there a content of the requirements file is
-e git+https://github.com/edx/xqueue-watcher#egg=xqueue-watcher

The process failed with error
'install_requires' must be a string or list of strings containing valid project/version requirement specifiers; Invalid requirement, parse error at "'-e git+h'"

After I tried to clone this project and build it via a command
python setup.py install
and got the same error.

Looks like an issue is install_requires=open('requirements/production.txt', 'rb').readlines() string in setup.py and git codejail dependecy in requirements files.

Is it really the issue or do I make something wrong?

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

1 participant