Menu

#26 Install dev version with pep

Next Minor Release
closed
None
1
2015-03-29
2014-10-13
Anonymous
No

At the moment to install yapsy as a development version we need to first checkout the egg and install it.

:::bash
$ git clone https://github.com/tibonihoo/yapsy.git
$ cd yapsy/package/
$ python setup.py develop

If the repository format could be changed to e.g. move setup.py to root of the repo and add package_dir={'': 'package'}, to setup.py, or move everything to root of the repo. It would be possible to do

:::bash
$ pip install git+https://github.com/tibonihoo/yapsy.git

Discussion

  • Thibauld Nion

    Thibauld Nion - 2014-11-10

    Ineresting ! I honestly never thought of that use case for laying out yapsy's repo.

    I may do that in a not so distant future, but meanwhile please notice that there isn't usually a big gap between yapsy's sources and its released version as yapsy is evolving quite slowly these days (mostly small bug fixes)

     
  • Thibauld Nion

    Thibauld Nion - 2014-11-10
    • status: open --> accepted
     
  • Thibauld Nion

    Thibauld Nion - 2015-03-28

    After a little checking, there is no need to change anything to yapsy's source layout, at least since pip v1.5 since you can do the following:

    pip install -e "git+https://github.com/tibonihoo/yapsy.git#egg=yapsy&subdirectory=package"

     
  • Thibauld Nion

    Thibauld Nion - 2015-03-29

    I've added this info to the doc (development section).

     
  • Thibauld Nion

    Thibauld Nion - 2015-03-29
    • status: accepted --> closed
     

Anonymous
Anonymous

Add attachments
Cancel