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

Make sclack installable from pip in a more universal fashion #115

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

SteveMcGrath
Copy link

Moved the app.py and config.json files within the sclack package and updated the setup.py to use the refactored entrypoint to start the script.

This should make the sclack application installable from pip. and usable via the commandline as “sclack”

Moved the app.py and config.json files within the sclack package and updated the setup.py to use the refactored entrypoint to start the script.

This should make the sclack application installable from pip. and usable via the commandline as “sclack”
@marsam
Copy link

marsam commented Apr 23, 2019

you also need to update tests/test_api.py

diff --git c/tests/test_api.py i/tests/test_api.py
index 952088a..a57272f 100644
--- c/tests/test_api.py
+++ i/tests/test_api.py
@@ -1,5 +1,5 @@
 from sclack.quick_switcher import remove_diacritic
-from app import ask_for_token
+from sclack.app import ask_for_token
 
 from slackclient import SlackClient

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.

None yet

3 participants