I would like to create the simplest (hello world package) package that I could install using pip in a virtualenv from a local zip file.
In python i would do
>> from myinstallpackage import mymodule
>> mymodule.sayhello()
hello !
What would be in the setup.py and in the package folder ?
Thanks
You can also try this code that I made:
Then run it and put the parameters in the create function. This will make the package and upload it pip with the given name and information.
You have to create account on http://pypi.python.org/. Then you can upload the module on http://pypi.python.org/pypi?%3Aaction=submit_form.
Doc on this site contains all commands like
How to create module which can be upload on pipy?
How to download fro pip?
etc...
You will get help on http://docs.python.org/distutils/index.html
Also you can directly register on http://docs.python.org/distutils/packageindex.html