Skip to content

Fix installation into an empty environment.#12

Closed
vrachnis wants to merge 1 commit intointercom:masterfrom
vrachnis:patch-1
Closed

Fix installation into an empty environment.#12
vrachnis wants to merge 1 commit intointercom:masterfrom
vrachnis:patch-1

Conversation

@vrachnis
Copy link
Copy Markdown

@vrachnis vrachnis commented Apr 2, 2013

This is a quick fix for installing python-intercom in an empty virtualenv. Without this change, it would fail because it was trying to import the requests package inside intercom/intercom.py before the installation was actually done.

I know that this pull request negates 17ad380, but i think that being able to install the package is more important.

To properly fix this, the intercom/init.py file should be reorganized to avoid importing extra modules.

Fix installation into an empty environment.

Installing python-intercom in an empty virtualenv would fail because
it was trying to import the requests package inside intercom/intercom.py.
To properly fix this, the intercom/__init__.py file must be reorganized.
@jkeyes jkeyes closed this in 1b48477 May 8, 2013
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

Successfully merging this pull request may close these issues.

1 participant