Skip to main content
Charles Sasaki-Skopp
Nov 18, 2021 7:08 PM UTC

Python package management.

Is there a best practice way to version python packages between production and testing UniData accounts on the same server? The .pth files load in the same order regardless of which account a user is in (which makes sense), and relative paths + environmental variables don't seem to be supported in .pth. Was hoping to be able to make and test changes to a package in a directory under the testing account and move to the production account only when ready, possibly updating a production package. Separate servers, while desirable, in not possible right now.

------------------------------
Charles Sasaki-Skopp
IT Coordinator/Developer
VSI
Albany OR US
------------------------------

    1 reply

    Mike Rajkowski
    Rocketeer
    Nov 19, 2021 1:44 PM UTC
    Is there a best practice way to version python packages between production and testing UniData accounts on the same server? The .pth files load in the same order regardless of which account a user is in (which makes sense), and relative paths + environmental variables don't seem to be supported in .pth. Was hoping to be able to make and test changes to a package in a directory under the testing account and move to the production account only when ready, possibly updating a production package. Separate servers, while desirable, in not possible right now.

    ------------------------------
    Charles Sasaki-Skopp
    IT Coordinator/Developer
    VSI
    Albany OR US
    ------------------------------


    ------------------------------
    Mike Rajkowski
    support
    Rocket Internal - All Brands
    DENVER CO US
    ------------------------------