-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add notes for Windows #10
Conversation
@dirk-thomas Success! Mind if I add some commits to this branch? I'd like to add notes about
Here's what worked for me python -m venv env
call env\Scripts\activate
type nul > env\COLCON_IGNORE
pip install -U EmPy setuptools PyYAML pywin32 coloredlogs
curl --output colcon.repos https://raw.githubusercontent.com/colcon/colcon.readthedocs.org/master/colcon.repos
mkdir src
vcs import src < colcon.repos
type nul > src\colcon-argcomplete\COLCON_IGNORE
python src\colcon-core\bin\colcon build --paths src/*
call "install\setup.bat"
python install\colcon-core\Scripts\colcon-script.py build |
Sounds good to me.
I would keep that change separate from this. Also I don't think that any of the ones you mentioned are necessary. They are all mention in the setup files and are being installed already. Anyway since there are many others I would keep it separate to not "block" this one from getting merged soon. See #11 for a stub. |
developer/bootstrap.rst
Outdated
@@ -23,6 +23,10 @@ While not strictly necessary it is recommended to use a virtual environment for | |||
$ python3 -m venv /tmp/colcon-venv | |||
$ . /tmp/colcon-venv/bin/activate | |||
|
|||
.. note:: | |||
|
|||
On Windows the executable is likely name ``python`` and the script is located in ``/tmp/colcon-venv/Scripts/activate``. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/tmp
on Windows ?
Maybe we can make all folder creations relative this way it should work on all platforms
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The windows note no longer references /tmp
in 571e3f3
Since the new "Fetch the sources" instructions for Windows work on all platforms I am fine with keeping them in a single section. |
@mikaelarguedas Common download instructions in f0ecc1c |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
We could specify to use call
on Windows for sourcing the setup files but I don't think its required to get this merged
I added about the script is being named and called on Windows in a7c192b (I didn't use |
@dirk-thomas I just checked and can confirm it works both with and without Edit: to clarify I mean activating the virtual environment works both with and without |
I added another related note in 455b739. |
Addresses the problem described in colcon/colcon-notification#4.