Created
June 1, 2015 14:31
-
-
Save at1as/f3eecf2c71bfa02e14d5 to your computer and use it in GitHub Desktop.
Publishing Gems & Python Packages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*PyPi Package* | |
Structure: | |
├── LICENSE.md | |
├── README.md | |
├── hello_world | |
│ ├── __init__.py | |
│ ├── hello_world.py | |
├── hello_world_runner.py | |
└── setup.py | |
Commands: | |
python setup.py install | |
python setup.py sdist | |
twine upload dist/* | |
*RubyGems* | |
Structure: | |
├── Gemfile | |
├── LICENSE.md | |
├── README.md | |
├── bin | |
│ └── hello_world.rb | |
├── lib | |
│ └── hello_world.rb | |
└── hello_world.gemspec | |
Commands: | |
gem build hello_world.gemspec | |
gem push hello_world-0.0.1.gem |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment