Giter Site home page Giter Site logo

catkin_tools_python's People

Contributors

jgonzalez-cpr avatar mikepurvis avatar tspicer01 avatar

Watchers

 avatar  avatar  avatar

Forkers

jgonzalez-cpr

catkin_tools_python's Issues

Issue with rebuilding

Happens on Ubuntu/Debian:

    os.rename(source_path, dest_path)
OSError: [Errno 39] Directory not empty

Stage `debian-fix` failed with arguments:
  source_path: ...... install/lib/python2.7/site-packages
  dest_path: ...... install/lib/python2.7/dist-packages

Do we have to rely on PKG-INFO ?

After trying it out, I realized that create_python_package_xmls extracts information from PKG-INFO.

I see two potential issues with this strategy :

  • In a workspace, I can checkout a (python) repo, and try to build it (to get my ros/catkin package to
    depend on it for example). But many python repo do not include PKG-INFO ( they are not the output of sdist ).

  • After releasing with bloom, the release repo doesn't have a PKG-INFO, which means one cannot generate package.xml on the fly when building a deb package. => A package.xml need to be maintained in the release repo for a thirdparty package

So I am wondering if there would be another place where we could extract information from ?
Or is there a way I could fix the issues I listed previously ?

My current flow to mutate a pip package into a ros package with catkin_pip is :

  • getting the source of the package (as in upstream, not the sdist output),
  • bloom releasing that,
  • CMakeLists and package.xml are patches in the release repo, and get automatically added.
  • rosdistro PR for the buildfarm to make the package.

Does this mean I should change that workflow to be able to get the PKG-INFO and automatically generate the package.xml in the release repo ? I am trying to minimize maintenance on the release repo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.