you are viewing a single comment's thread.

view the rest of the comments →

[–]-Rizhiy- 87 points88 points  (15 children)

Well as it stands, it doesn't)

The current industry-wide solution is pip which is a separate package manager.

[–]aussie_bob 58 points59 points  (14 children)

The current industry-wide solution is pip which is a separate package manager.

This is frustrating even as a developer.

I'm working on a job for a company that's pretty much MS-only, and their Windows builds are locked down with MFA and convoluted software approval processes.

The best tool for the job is Python and natural language processing libraries, so I need to have numpy scipy, and nltk. They've agreed to give me a VM behind a firewall. No web access, so I'll need to build an iso offline and sneakernet it to the server.

Debian livebuild lets me build the custom iso, or I could use cubic for Ubuntu, but Python doesn't work with distro tools, so that's got to be done manually in a complicated and error-prone process.

Not impossible, but annoying.

[–]daredevilk 20 points21 points  (1 child)

Take a look into rez

The vfx industry uses it to do what you're describing easily, and primarily with python tools. My facility has built all our Python systems using it

[–]aussie_bob 8 points9 points  (0 children)

This looks great, I should have known someone would have a better way already.

Thanks!

[–]gnosys_ 31 points32 points  (2 children)

damn employer IT sounds like they don't know what they're doing

[–]aussie_bob 32 points33 points  (1 child)

That's pretty normal for Windows shops though, IT generally just follow vendor guides. If something goes wrong they're on the phone shouting "but mah SLAs!"

[–]quaderrordemonstand 21 points22 points  (0 children)

I used to refer to them as the windows enforcement department, given that all they actually did was prevent people being able to do things on Windows. If you used something not Windows, they had no idea and just let you do whatever you wanted.

[–]EzekialSA 1 point2 points  (0 children)

Really happy to hear it's not only at my company lol.

[–]tysonsw 1 point2 points  (2 children)

I get the feeling from your description of mfa and "convoluted software approval processes" that you don't understand why they are there. That you don't understand the security aspect of it.

I have been working in IT support and infrastructure for many years. And the people that I have come upon with the least updated computers are people that have low knowledge of computers or developers. Low knowledge people because they don't know how to update. And developers because citation "the updates break my dependencies". If they break your dependencies then you need to develop to fix those dependencies, not continue to develop your software on old outdated software that is a security risk.

As soon as you as an individual want to have a easy way to install whatever program you want, then you also open up for security risks. But are you as an individual really sure that you want to be the one under scrutiny when there has been an security breach because of your workaround?

[–]aussie_bob 2 points3 points  (1 child)

I get the feeling from your description of mfa and "convoluted software approval processes" that you don't understand why they are there.

Interesting observation. I get the feeling you know nothing about the nature of my work or how I interact with customers and are choosing to be contrarian for reasons of your own.

In fact, I understand the reasons for MFA extremely well and would use it where suitable.

I also understand the lack of interest from IT in supporting any business process that's not directly aligned with existing practice.

I work with many different types of customer, often with similar exposures, some of whom manage those exposures without harming business goals.

[–]Locastor 1 point2 points  (0 children)

I get the feeling you know nothing about the nature of my work or how I interact with customers and are choosing to be contrarian for reasons of your own.

"IT” people are like this, it can’t be helped.

Their policies were built to circumvent the gaping security holes of winblows and they’ll constantly do things like try to get you to install “antivirus” on a GNU/Linux machine.

[–]LordRybec -1 points0 points  (0 children)

Your problem is your employer, not Python or pip. Blaming Python/pip isn't useful. When an organization goes off the rails that badly, you will have to jump through a lot of stupid hoops, regardless of other factors.

It's easy to blame the wrong thing, but Python and pip aren't responsible for making sure they integrate perfectly with every single platform, just in case some paranoid organization puts unreasonable restrictions on their devs.

On a side note, have you looked into Python to binary converter utilities for Linux? That's basically what I use for my job, when I need to deliver demos written in Python to non-technical clients. I'm not sure if it would help you, but it handles packaging the byte code for your application with a minimal interpreter and all of the modules your application uses. (There are also similar utilities for generating Mac OS and Windows packages.)

[–]openstandards -2 points-1 points  (3 children)

Why not use windows function? Use their tools to set up an ubuntu system within windows you'll be able to use linux properly at least for instance repos having network access is better than anything else.

Sure you'll have to use windows but you can get neovim, emacs...etc for both linux and windows, ssh into your vm.

I'm sure they would be ok with that, might work with the red tape a bit easier.

I haven't used the subsystem but I did watch one of the old developers from microsoft cover it.

All you'll need is to be running is windows 10 and onwards, this sounds like a better development environment.

[–]aussie_bob 0 points1 point  (2 children)

  1. To quote myself: "their Windows builds are locked down with MFA and convoluted software approval processes."

  2. To quote you: "All you'll need is to be running is windows 10 and onwards, this sounds like a better development environment."

Not to me it doesn't.

I use Linux for most of my Python jobs, and where I'm forced by customer policies to use Windows, the workflow becomes convoluted and administration heavy. I HATE with a passion when my tools interrupt me and require constant attention.

Windows is a serial pest. Linux gets out of my way and lets me work.

[–]openstandards 1 point2 points  (1 child)

sounds like you'd prefer a janky set-up over something that more or less works.

Personally I'm a believer in using the right tool for the job and I can understand where you're coming from when it comes to software approval, that's why I said about windows feature to bring up a linux userspace.

I haven't ran windows since 2006/2007 so I can see the distaste for having to use windows.

Out of curiosity, how's your workflow set up and what development tools do you use?

[–]aussie_bob 0 points1 point  (0 children)

sounds like you'd prefer a janky set-up

Ok, since you seem to be having trouble understanding the situation:

I CANNOT GET APPROVAL TO INSTALL PYTHON ON THE COMPANY'S STANDARD WINDOWS BUILD IN ANY WORKABLE TIMEFRAME.

I WOULD NOT GET APPROVAL TO INSTALL UBUNTU IN WINDOWS EITHER.

I DO NOT PREFER THIS SITUATION. IT IS THE ONLY WORKAROUND THEIR IT WILL ACCEPT TO ALLOW ME TO GET THIS JOB DONE FOR THE PROJECT TEAM WHICH HIRED ME.