Skip to content
This repository has been archived by the owner on Dec 9, 2020. It is now read-only.

Commit

Permalink
Merge branch 'no-src-directory' into test
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyBanks committed Apr 29, 2014
2 parents ced5d07 + 6afc255 commit c16ae79
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 6 deletions.
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
default: test run-example

run-example: install-dependencies
PYTHONPATH="src/:$(PYTHONPATH)" python examples/example.py
python examples/example.py

test: install-dependencies
PYTHONPATH="src/:$(PYTHONPATH)" python -m pytest
python -m pytest

install-dependencies:
# This also creates a link to `chatexchange/` in the Python
# environment, which is neccessary for the other files to be
# able to find it.
rm -rf src/*.egg-info
pip install -e .

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
5 changes: 1 addition & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@

setuptools.setup(
name='ChatExchange',
version='0.0.0dev6',
version='0.0.0dev7',
url='https://github.com/Manishearth/ChatExchange',
packages=[
'chatexchange'
],
package_dir={
'': 'src'
},
install_requires=[
'BeautifulSoup==3.2.1',
'httmock==1.2.2',
Expand Down
Empty file removed src/chatexchange/__init__.py
Empty file.

0 comments on commit c16ae79

Please sign in to comment.