Skip to content
This repository was archived by the owner on Mar 30, 2025. It is now read-only.

Commit 79e5910

Browse files
authored
Merge pull request #120 from staticdev/removal/vscode-pycharm
Remove IDE installations
2 parents efa7427 + a188e93 commit 79e5910

File tree

10 files changed

+7
-143
lines changed

10 files changed

+7
-143
lines changed

README.rst

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,13 @@ Installs:
2323
- Pipx_
2424
- Poetry_
2525
- pre-commit_
26-
- PyCharm_ (optional)
2726
- pyenv_
28-
- `Visual Studio Code`_ (optional)
2927

3028

29+
Note:
30+
31+
This role does not install PyCharm_ and `Visual Studio Code`_ anymore. For a playbook that installs IDEs, try `Linux workstation playbook`_.
32+
3133
Requirements
3234
------------
3335

@@ -41,17 +43,12 @@ Here is the list of all variables and their default values:
4143

4244
- `pyenv_global`: optional list of Python global versions for pyenv (from `staticdev.pyenv`_)
4345
- `pyenv_python_versions`: optional list of Python versions installed (from `staticdev.pyenv`_)
44-
- `install_pycharm`: `false`
45-
- `pycharm_flavor`: `community`. You can use also `professional` or `edu`
46-
- `install_vscode`: `false`
47-
- `vscode_extensions`: optional list of name_ids of extensions. eg.: ms-python.python (Python Official Extension)
4846

4947

5048
Dependencies
5149
------------
5250

5351
- `staticdev.pyenv`_
54-
- `gantsign.visual-studio-code`_ (optional)
5552

5653

5754
Example Playbook
@@ -81,31 +78,6 @@ Here are some common usages of this role.
8178
- "3.10.0"
8279
- "3.9.9"
8380
84-
3. Role with Pycharm
85-
86-
.. code:: yaml
87-
88-
- hosts: all
89-
roles:
90-
- role: staticdev.python-developer
91-
vars:
92-
install_pycharm: true
93-
pycharm_flavor: edu
94-
95-
4. Role with vscode and extensions
96-
97-
.. code:: yaml
98-
99-
- hosts: all
100-
roles:
101-
- role: staticdev.python-developer
102-
vars:
103-
install_vscode: true
104-
vscode_extensions:
105-
- ms-python.python
106-
- ms-python.vscode-pylance
107-
- shan.code-settings-sync
108-
10981
11082
Contributing
11183
------------
@@ -130,6 +102,7 @@ Author Information
130102
.. _Contributor Guide: CONTRIBUTING.rst
131103
.. _Cookiecutter: https://github.com/audreyr/cookiecutter
132104
.. _Cookiecutter Hypermodern Python: https://github.com/cjolowicz/cookiecutter-hypermodern-python
105+
.. _Linux workstation playbook: https://github.com/staticdev/linux-workstation-playbook
133106
.. _Nox: https://nox.thea.codes/
134107
.. _Pipx: https://pypa.github.io/pipx/
135108
.. _Poetry: https://python-poetry.org/

meta/main.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,4 @@ galaxy_info:
3131

3232
dependencies:
3333
- name: staticdev.pyenv
34-
version: 2.5.0
35-
- name: gantsign.visual-studio-code
36-
version: 6.7.0
37-
when: install_vscode
34+
version: 2.5.1

molecule/pycharm/converge.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

molecule/pycharm/molecule.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

molecule/vscode/converge.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

molecule/vscode/molecule.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

requirements.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,4 @@
11
---
22
roles:
33
- name: staticdev.pyenv
4-
version: 2.5.0
5-
- name: gantsign.visual-studio-code
6-
version: 6.7.0
7-
when: "{{ install_vscode }}"
8-
9-
collections:
10-
- name: community.general
11-
version: 4.2.0
4+
version: 2.5.1

tasks/main.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,3 @@
8181
- name: Install nox-poetry
8282
command: "{{ ansible_env.HOME }}/.local/bin/pipx inject nox nox-poetry"
8383
when: nox_version_cmd is failed
84-
85-
- name: Install pycharm
86-
include_tasks: pycharm.yml
87-
when: install_pycharm
88-
89-
- name: Install vscode
90-
include_tasks: vscode.yml
91-
when: install_vscode

tasks/pycharm.yml

Lines changed: 0 additions & 12 deletions
This file was deleted.

tasks/vscode.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)