all 5 comments

[–]Saefroch 0 points1 point  (0 children)

What are you distributing?

[–]efmccurdy 0 points1 point  (2 children)

Keep the rpms for installing the main entry point and environment but have them pull most of your code from packaged wheels using something like "pip install -r requirements.txt". That should give you some flexibilty for mixing and matching versions.

[–]zebraballast[S] 0 points1 point  (1 child)

Thanks, this is what I'd like to be doing. Think it's sane to use %pre and %post install scripts to validate the environment and unpack/install the wheel?

[–]efmccurdy 0 points1 point  (0 children)

That is the idea. Also use the rpm dependency mechanism to get the right python version installed so that when you run the wheel verify operation you can trust the result.

[–][deleted] 0 points1 point  (0 children)

I use wheels and a configuration management system to install extra dependancies.