jt added the comment:
Thank you so much for making it happen <3
--
___
Python tracker
<https://bugs.python.org/issue36010>
___
___
Python-bugs-list mai
jt added the comment:
Yeah, having this in the NuGet version would be amazing!
I have been too specific with the ticket with my narrow mind set on a solution,
but NuGet + complete standard library (including venv and pip) is what I now
believe I actually should be using.
Not that I would
jt added the comment:
Ok I am now realizing after more tests I actually read the docs correctly, and
in that sense they're not ambiguous.
It's just that I tried to use data_files for something that it's not for: I did
look at package_data first and I get that's what I SHOULD be using
New submission from jt :
distutils spits out a warning:
package init file 'xxx/__init__.py' not found (or not a regular file)
... when using Cythonized __init__.pyx instead. However, the installed package
works absolutely fine, it can be imported & used perfectly, so this warning
s
New submission from jt :
I find the following doc section found at
https://docs.python.org/3.7/distutils/setupscript.html#installing-additional-files
about data_files somewhat unclear:
```
setup(...,
data_files=[('bitmaps', ['bm/b1.gif', 'bm/b2.gif']),
('config', ['cfg
jt added the comment:
Just to add this, I now tested the proper pip upgrade approach, and it worked
fine, like everything else I tried before (installing & using Cython, any other
packages, ...). If there's anything else I should test, let me know! NuGet with
venv/ensurepip would be awe
jt added the comment:
> alternatively, you could perform an unattended installation:
I know, I already listed the downsides above. (Basically outside of a container
it's a bad way to do things because it has too many side effects, and it likes
to break when interrupted after which
jt added the comment:
Okay there is one issue that looks like it might be venv related, which is that
upgrading pip itself doesn't seem to work for some reason (while installing
other packages in the venv worked fine):
Could not install packages due to an EnvironmentError: [WinError 5
jt added the comment:
Ok, so I just tested this by
1. Installing Python 3.7.2 with the regular installer
2. Copying out "Lib\venv" and "Lib\ensurepip" into another folder
3. Uninstalling Python 3.7.2 (there is now no user-available install of Python
on this system)
4. I
jt added the comment:
Sorry I could have added more detailed use cases, so I'll append them here:
The use case for venv in this particular script is that it's written to also
work outside of CI, so it doesn't assume it runs in a "clean" python like this.
And I would rather have
jt added the comment:
> As that's what you just installed with nuget, there's no point in creating a
> venv - just pip install directly into it.
This is not a pip install script or anything, it is more complex code that
relies on venv. It is not written to run in this build environmen
jt added the comment:
Okay, I just tested switching to the NuGet package and appear to have hit some
sort of issue:
C:\myproject\tools\windows\.python-win\python\tools\python.exe: No module named
venv
Traceback (most recent call last):
File "C:\myproject\tools\windows\\windows-bui
jt added the comment:
> Well, you still need a tool to fetch the zip and you need another tool to
> unzip it
Windows 10 actually has everything necessary around, so I don't! That's kind of
the beauty of it, the other point being that every dev knows how to deal with a
.zip (more tha
jt added the comment:
So is that a no for a regular .zip release here?
https://www.python.org/downloads/windows/
Don't get me wrong I'm all for options, I just don't get why there is no simple
tool-less binary archive for Windows. Why are the only options different
variants of installers
jt added the comment:
Is nuget a standard windows utility? What happens if that process is
interrupted? What happens if I install it twice to different folders? What
happens if I want a specific python version?
Don't get me wrong maybe it can do all these things, but why on earth do I need
New submission from jt :
It would be really useful if you could provide a .zip Windows release of Python
that is not crippled/for embedding only.
The reason is simply is that right now, I am having constant pain & trouble
with it writing an automated build script for Windows (
New submission from JT Johnson svedgeb...@gmail.com:
I am running Python 2.6.4 on Windows Vista and when I try to get any command
line arguments via sys.argv, it only contains sys.argv[0], but nothing else.
Even if I supply several parameters. The only third-parts modules I am using
JT Johnson svedgeb...@gmail.com added the comment:
Actually, I was playing around with it and I found that using the python
command before it does work.
Now, when I type what you said to do, it shows that there is no association,
even though i can run a program without the python command
JT Johnson svedgeb...@gmail.com added the comment:
Sorry for a double-comment, but I thought of posting this after I already
submitted the last one and I found no edit button.
Here's some output:
Microsoft Windows [Version 6.0.6001]
Copyright (c) 2006 Microsoft Corporation. All rights
19 matches
Mail list logo