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

Add setup.py and prepare for packaging #1

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

Conversation

bennuttall
Copy link

I sorted it out enough for the pull-deploy and push-deploy scripts to get as far as trying to read the config file, so it probably works with a valid config file.

  1. git clone
  2. make a venv and activate it (see https://gist.github.com/bennuttall/9f35ab1f41136fbf10fd)
  3. pip install boto3 requests pyyaml
  4. python setup.py develop
  5. python setup.py install (for scripts)
  6. Sort out your config.yaml
  7. Try running pull-deploy and push-deploy
  8. Build sdist and wheel: python setup.py sdist bdist_wheel
  9. ls dist will show the built files (a .tar.gz and a .whl)
  10. Register on PyPI: https://pypi.org/account/register/
  11. Put a .pypirc in your homedir
  12. twine upload dist/*

See https://packaging.python.org/ for more info

Feel free to ping me if you have any questions.

@M1ke
Copy link
Owner

M1ke commented Mar 26, 2019

Thanks for this - sorry for my slow response! I'll test it myself and look to merge then deploy to pypi

@bennuttall
Copy link
Author

I wondered if s3pulldeploy would be a better module name?

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.

2 participants