Search This Blog

Wednesday, April 22, 2015

Python Package Development

Context

I'm developing a few Python packages, which are obviously under version control (personally hosted GIT repo in this case, but that's not relevant). Now, the package is in active development, but I usually work in different machines: my personal laptop and workstations at the lab. In the lab machines I don't have root access, so I work on a virtualenv, where I can install python packages using pip install.

How?

To facilitate the development in every machine I work on, this is the basic setup:
  1. Create a setup.py file in the repo, to use setuptools to install the package (this will also help you if you want to use PyPI later on to distribute your package)
  2. Clone the repo in every machine you will develop/use your package
  3. For every machine:
    1. activate the virtualenv
    2. cd into the cloned repo
    3. Type python setup.py develop

32 comments:

  1. thanks for sharing ! great game , have fun with my singing monsters cheats and hack to achive coins , gems , breed new singing monsters and lot more info here.

    ReplyDelete
  2. Resources like the one you mentioned here will be very useful to me! I will post a link to this page on my blog. I am sure my visitors will find that very useful
    Laptop Repair Service Faridabad

    ReplyDelete
  3. You have got the golden chance to grab the roblox robux generator of 2015 which will be unlimited and will be provided without paying any amount and at no any effort.

    ReplyDelete
  4. ou’re alone in a zombie infested desert. Your only means of defense is your truck. Kill zombies to earn money, and then use the money to buy upgrades for your truck to help you to go through all the obstacles and defend yourself. Earn bonus cash by coming up with creative and impressive ways to kill the zombies, as well as breaking down other obstacles and barriers in your path.
    Use the arrow keys for navigation
    earn to die game123

    earn to die5

    earn to die game vui

    earn to die23

    earn to die game play

    earn to die
    tank trouble
    age of war

    freetowerdefensegames

    ReplyDelete
  5. I like your post. It really useful with me. Thanks for sharing these useful information!
    http://happywheels3game.com

    ReplyDelete
  6. I often get emotionally involved. Like when I read your post, I can cry, laugh, sad, funny, depending on your written words. I think you are a sensitive person.
    http://fivenightsatfreddysplay.com

    ReplyDelete
  7. I can feel that the articles contained in this blog is so interesting. I also get a variety informasin, thanks. geometry-dash.net

    ReplyDelete
  8. Thanks for the information you shared. Please share useful information with your friends regularly
    papasgamesonline.com

    ReplyDelete
  9. I was very impressed by this post, this site has always been pleasant news. Thank you very much for such an interesting post. Keep working, great job! In my free time, I like play game: facebooklite.com.br. What about you?

    ReplyDelete
  10. I love all the posts, I really enjoyed, I would like more information about this, because it is very nice., Thanks for sharing.
    www.appbaixar.com

    ReplyDelete
  11. This article is really fantastic and thanks for sharing the valuable post.

    http://www.happywheelsy8.com

    ReplyDelete
  12. Alot of blogs I see these days don't really provide anything that I'm interested in, but I'm most definately interested in this one. Just thought that I would post and let you know. Nice! thank you so much! Thank you for sharing.
    b612az.com

    ReplyDelete
  13. Thank you very much for such an interesting post. pocaauto

    ReplyDelete
  14. ليس من السهل الحصول على شركة متميزة ومتخصصه لعملية التنظيف ومكافحة الحشرات ونقل العفش وغيرها من الخدمات فشركتنا رائده في هذا المجاال وجعل منزلك راقي وجميل حيث يتوفر لدى شركتنا عمال فلبيين وغيرهم متميزون وعلى درجه كبيره من الكفاءه والخبره كما ان شركة ركن الشروق يتوفر لديها افضل المعدات واحداثها التي تجعل الشركة متقدمه عن غيرها وجعل امور المنزل من تنظيف او مكافحة او نقل امر سهل وراقي في العمل عزيزي العميل نتمني منك الاسراع الينا وطلب الخدمة التي تريدها وسوف يصل اليك فريق على درجه كبيره من التميز والخبره والسرعه في العمل اتصل بنا ولا تتردد نصلك اينما كنت شركة تسليك مجاري بابها
    شركة مكافحة حشرات بابها
    شركة نقل عفش بابها

    شركة تنظيف خزانات بابها

    ReplyDelete
  15. شركة ركن الشروق في الاحساء تقدم لكم افضل الخدمات واكثرها طلبا لعملائنا الكرام فشركتنا الرائده في مجال خدمات المنازل بأنواعها المختلفه عليك التواصل معنا نصلك في اسرع وقت ونحن في انتظارك شركة مكافحة حشرات بالاحساء
    شركة تنظيف خزانات بالاحساء
    شركة تنظيف مجالس بالاحساء


    ReplyDelete
  16. Thank you very much for the information you shared, it’s all I’ve been looking for
    www.happywheels-2.com

    ReplyDelete
  17. Thank you, so Much admin have a nice day :) you information about weight loss is very easy and simple.
    pocafashion

    ReplyDelete
  18. اذا كنت تبحث عن شركة تلبي كل احتياجاتك المنزليه في الطائف من تنظيف,ونقل عفش,ومكافحة حشرات , وتسليك مجاري,زتنظيف خزانات وغيرها من الخدمات كل هذا واكثر في شركة ركن الشروق على درجه كبيره من الكفاءه والخبره اتصل نصلك نحن في انتظارك
    شركة تنظيف بالطائف

    شركة نقل عفش بالطائف


    ReplyDelete
  19. I appreciate you and hopping for some more informative posts. thanks for share
    run3.run

    ReplyDelete
  20. I have read your article, the information you give is very interesting.
    pocatravel

    ReplyDelete
  21. Your article is very interesting. I think this article has a lot of information needed, looking forward to your new posts. Get permission to share:
    returnman3game.com

    ReplyDelete
  22. Your post is interesting. Hope you have more useful posts like this
    vex3.games

    ReplyDelete
  23. It seems I'm on the right track, I hope I can do well. The result was something I did and was doing to implement it.
    www.clickjogosclick.com

    ReplyDelete
  24. This blog is so nice to me. I will continue to come here again and again. Visit my link as well. Good luck
    obat aborsi
    cara menggugurkan kandungan

    ReplyDelete