projectdevsetup 1.0.1__tar.gz → 1.1.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/LICENSE +21 -21
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/PKG-INFO +7 -1
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/README.md +6 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/pyproject.toml +1 -1
- projectdevsetup-1.1.0/setup.cfg +8 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/setup.py +1 -1
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/__init__.py +1 -1
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/installer.py +3 -3
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/wizard.py +8 -1
- projectdevsetup-1.1.0/src/projectdevsetup.egg-info/PKG-INFO +230 -0
- {projectdevsetup-1.0.1/build → projectdevsetup-1.1.0/src}/projectdevsetup.egg-info/SOURCES.txt +6 -0
- projectdevsetup-1.1.0/src/projectdevsetup.egg-info/dependency_links.txt +1 -0
- projectdevsetup-1.1.0/src/projectdevsetup.egg-info/entry_points.txt +2 -0
- projectdevsetup-1.1.0/src/projectdevsetup.egg-info/requires.txt +1 -0
- projectdevsetup-1.1.0/src/projectdevsetup.egg-info/top_level.txt +1 -0
- projectdevsetup-1.0.1/setup.cfg +0 -5
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/__main__.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/detector.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/network.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/path_manager.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/permissions.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/templates/Hello.java +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/templates/hello.c +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/templates/hello.cpp +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/templates/hello.go +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/templates/hello.html +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/templates/hello.js +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/templates/hello.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/templates/hello.rs +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/utils/__init__.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/utils/logger.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/utils/os_detect.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/utils/venv_helper.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/src/projectdevsetup/vscode.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/tests/test_main.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/tests/test_venv_helper.py +0 -0
- {projectdevsetup-1.0.1 → projectdevsetup-1.1.0}/tests/test_wizard.py +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2026 Zenith Open Source Projects
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Zenith Open Source Projects
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: projectdevsetup
|
|
3
|
-
Version: 1.0
|
|
3
|
+
Version: 1.1.0
|
|
4
4
|
Summary: Automatic developer environment setup for beginners
|
|
5
5
|
Author-email: roshhellwett <roshhellwett@icloud.com>
|
|
6
6
|
License-Expression: MIT
|
|
@@ -27,6 +27,12 @@ Dynamic: license-file
|
|
|
27
27
|
|
|
28
28
|
Beginner-friendly tool that helps set up a coding environment for common programming languages. It is designed for people who want a guided setup experience instead of manually installing everything one by one.
|
|
29
29
|
|
|
30
|
+

|
|
31
|
+
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+

|
|
35
|
+
|
|
30
36
|
---
|
|
31
37
|
|
|
32
38
|
## Supported languages
|
|
@@ -8,6 +8,12 @@
|
|
|
8
8
|
|
|
9
9
|
Beginner-friendly tool that helps set up a coding environment for common programming languages. It is designed for people who want a guided setup experience instead of manually installing everything one by one.
|
|
10
10
|
|
|
11
|
+

|
|
12
|
+
|
|
13
|
+

|
|
14
|
+
|
|
15
|
+

|
|
16
|
+
|
|
11
17
|
---
|
|
12
18
|
|
|
13
19
|
## Supported languages
|
|
@@ -27,7 +27,7 @@ from projectdevsetup.utils.os_detect import SystemInfo, detect_system
|
|
|
27
27
|
URLS = {
|
|
28
28
|
"jdk_windows": "https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.exe",
|
|
29
29
|
"node_windows": "https://nodejs.org/dist/latest/node-latest-x64.msi",
|
|
30
|
-
"go_windows": "https://go.dev/dl/go1.
|
|
30
|
+
"go_windows": "https://go.dev/dl/go1.24.4.windows-amd64.msi",
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
|
|
@@ -73,7 +73,7 @@ class Installer:
|
|
|
73
73
|
def _install_python_windows(self) -> bool:
|
|
74
74
|
tmp = get_temp_dir()
|
|
75
75
|
arch = "amd64" if self.sys_info.is_64bit else "win32"
|
|
76
|
-
url = f"https://www.python.org/ftp/python/3.
|
|
76
|
+
url = f"https://www.python.org/ftp/python/3.13.2/python-3.13.2-{arch}.exe"
|
|
77
77
|
installer = tmp / "python_installer.exe"
|
|
78
78
|
if not download_file(url, installer, "Python"):
|
|
79
79
|
return False
|
|
@@ -126,7 +126,7 @@ class Installer:
|
|
|
126
126
|
arch = "x86_64" if self.sys_info.is_64bit else "i686"
|
|
127
127
|
url = (
|
|
128
128
|
"https://github.com/msys2/msys2-installer/releases/download/"
|
|
129
|
-
f"
|
|
129
|
+
f"2025-07-14/msys2-{arch}-20250714.exe"
|
|
130
130
|
)
|
|
131
131
|
installer = tmp / "msys2_installer.exe"
|
|
132
132
|
if not download_file(url, installer, "MSYS2 (GCC)"):
|
|
@@ -55,7 +55,12 @@ def run() -> None:
|
|
|
55
55
|
divider()
|
|
56
56
|
|
|
57
57
|
installer = Installer()
|
|
58
|
-
|
|
58
|
+
if language_key == "all":
|
|
59
|
+
total_steps = 11 # 8 languages + VS Code + extensions + file + venv
|
|
60
|
+
elif language_key == "python":
|
|
61
|
+
total_steps = 5 # install + VS Code + extensions + file + venv
|
|
62
|
+
else:
|
|
63
|
+
total_steps = 4 # install + VS Code + extensions + file
|
|
59
64
|
current_step = 1
|
|
60
65
|
|
|
61
66
|
if language_key == "all":
|
|
@@ -97,8 +102,10 @@ def run() -> None:
|
|
|
97
102
|
created = _create_starter_file(language_key, file_name, output_dir)
|
|
98
103
|
if created is not None:
|
|
99
104
|
created_files.append(created)
|
|
105
|
+
current_step += 1
|
|
100
106
|
|
|
101
107
|
if language_key in ("python", "all"):
|
|
108
|
+
step(current_step, total_steps, "Setting up Python virtual environment")
|
|
102
109
|
create_venv(output_dir)
|
|
103
110
|
|
|
104
111
|
if vscode_ok and created_files:
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: projectdevsetup
|
|
3
|
+
Version: 1.1.0
|
|
4
|
+
Summary: Automatic developer environment setup for beginners
|
|
5
|
+
Author-email: roshhellwett <roshhellwett@icloud.com>
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/zenith-open-source/projectdevsetup
|
|
8
|
+
Project-URL: Organization, https://zenithopensourceprojects.vercel.app
|
|
9
|
+
Keywords: developer setup,beginner,vscode,gcc,jdk,python setup,coding environment,zenith
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Operating System :: OS Independent
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
14
|
+
Requires-Python: >=3.8
|
|
15
|
+
Description-Content-Type: text/markdown
|
|
16
|
+
License-File: LICENSE
|
|
17
|
+
Requires-Dist: colorama>=0.4.6
|
|
18
|
+
Dynamic: license-file
|
|
19
|
+
|
|
20
|
+

|
|
21
|
+

|
|
22
|
+

|
|
23
|
+

|
|
24
|
+

|
|
25
|
+
|
|
26
|
+
# PROJECT DEV SETUP
|
|
27
|
+
|
|
28
|
+
Beginner-friendly tool that helps set up a coding environment for common programming languages. It is designed for people who want a guided setup experience instead of manually installing everything one by one.
|
|
29
|
+
|
|
30
|
+

|
|
31
|
+
|
|
32
|
+

|
|
33
|
+
|
|
34
|
+

|
|
35
|
+
|
|
36
|
+
---
|
|
37
|
+
|
|
38
|
+
## Supported languages
|
|
39
|
+
|
|
40
|
+
1. Python
|
|
41
|
+
2. C
|
|
42
|
+
3. C++
|
|
43
|
+
4. Java
|
|
44
|
+
5. HTML / CSS
|
|
45
|
+
6. JavaScript
|
|
46
|
+
7. Rust
|
|
47
|
+
8. Go
|
|
48
|
+
9. All languages
|
|
49
|
+
|
|
50
|
+
## Installation
|
|
51
|
+
|
|
52
|
+
First, make sure Python is installed.
|
|
53
|
+
|
|
54
|
+
Then install the package with:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
pip install projectdevsetup
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
## How to run it
|
|
61
|
+
|
|
62
|
+
You can start it with either command:
|
|
63
|
+
|
|
64
|
+
```bash
|
|
65
|
+
projectdevsetup
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
or:
|
|
69
|
+
|
|
70
|
+
```bash
|
|
71
|
+
python -m projectdevsetup
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
## How to use it
|
|
75
|
+
|
|
76
|
+
### 1. Start the tool
|
|
77
|
+
|
|
78
|
+
Run one of the commands above in your terminal.
|
|
79
|
+
|
|
80
|
+
### 2. Pick a language
|
|
81
|
+
|
|
82
|
+
The tool will show a menu like this:
|
|
83
|
+
|
|
84
|
+
```text
|
|
85
|
+
============================================================
|
|
86
|
+
projectdevsetup - Zenith Open Source Projects
|
|
87
|
+
Automatic Developer Environment Setup for Beginners
|
|
88
|
+
============================================================
|
|
89
|
+
|
|
90
|
+
Which programming language do you want to set up?
|
|
91
|
+
|
|
92
|
+
1. Python
|
|
93
|
+
2. C
|
|
94
|
+
3. C++
|
|
95
|
+
4. Java
|
|
96
|
+
5. HTML / CSS
|
|
97
|
+
6. JavaScript
|
|
98
|
+
7. Rust
|
|
99
|
+
8. Go
|
|
100
|
+
9. All Languages
|
|
101
|
+
```
|
|
102
|
+
|
|
103
|
+
Enter a number from `1` to `9`.
|
|
104
|
+
|
|
105
|
+
### 3. Name your starter file
|
|
106
|
+
|
|
107
|
+
If you choose a single language, the tool asks for a file name.
|
|
108
|
+
|
|
109
|
+
Example:
|
|
110
|
+
|
|
111
|
+
```text
|
|
112
|
+
What do you want to name your file? (without extension)
|
|
113
|
+
Example: if you type 'hello', your file will be 'hello.py'
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
If your name contains special characters, the tool replaces them with underscores.
|
|
117
|
+
|
|
118
|
+
### 4. Let the setup finish
|
|
119
|
+
|
|
120
|
+
The tool then goes through these steps:
|
|
121
|
+
|
|
122
|
+
1. Installs the selected language tools
|
|
123
|
+
2. Sets up Visual Studio Code
|
|
124
|
+
3. Installs recommended VS Code extensions
|
|
125
|
+
4. Creates your starter file
|
|
126
|
+
|
|
127
|
+
For Python, it also creates:
|
|
128
|
+
|
|
129
|
+
- `.venv`
|
|
130
|
+
- `requirements.txt`
|
|
131
|
+
|
|
132
|
+
### 5. Open your project
|
|
133
|
+
|
|
134
|
+
Your project is created in:
|
|
135
|
+
|
|
136
|
+
```text
|
|
137
|
+
~/projectdevsetup_projects/<your-file-name>
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
On Windows, that is usually under your user home directory.
|
|
141
|
+
|
|
142
|
+
## Example output
|
|
143
|
+
|
|
144
|
+
For a Python project named `hello`, the tool will create something like:
|
|
145
|
+
|
|
146
|
+
```text
|
|
147
|
+
projectdevsetup_projects/
|
|
148
|
+
hello/
|
|
149
|
+
hello.py
|
|
150
|
+
requirements.txt
|
|
151
|
+
.venv/
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
## How to run your code later
|
|
155
|
+
|
|
156
|
+
### Python
|
|
157
|
+
|
|
158
|
+
```bash
|
|
159
|
+
python hello.py
|
|
160
|
+
```
|
|
161
|
+
|
|
162
|
+
### C
|
|
163
|
+
|
|
164
|
+
```bash
|
|
165
|
+
gcc hello.c -o program
|
|
166
|
+
./program
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
### C++
|
|
170
|
+
|
|
171
|
+
```bash
|
|
172
|
+
g++ hello.cpp -o program
|
|
173
|
+
./program
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
### Java
|
|
177
|
+
|
|
178
|
+
```bash
|
|
179
|
+
javac Hello.java
|
|
180
|
+
java Hello
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### JavaScript
|
|
184
|
+
|
|
185
|
+
```bash
|
|
186
|
+
node hello.js
|
|
187
|
+
```
|
|
188
|
+
|
|
189
|
+
### Rust
|
|
190
|
+
|
|
191
|
+
```bash
|
|
192
|
+
rustc hello.rs
|
|
193
|
+
./hello
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
### Go
|
|
197
|
+
|
|
198
|
+
```bash
|
|
199
|
+
go run hello.go
|
|
200
|
+
```
|
|
201
|
+
|
|
202
|
+
### HTML / CSS
|
|
203
|
+
|
|
204
|
+
Open the generated HTML file in your browser or in VS Code.
|
|
205
|
+
|
|
206
|
+
## Important notes
|
|
207
|
+
|
|
208
|
+
- The tool needs internet access to install packages and editors.
|
|
209
|
+
- Some installs may require administrator or sudo permissions.
|
|
210
|
+
- Installation success depends on the operating system and external installers being available.
|
|
211
|
+
- If VS Code or a language tool cannot be installed automatically, the tool shows a manual fallback message.
|
|
212
|
+
|
|
213
|
+
## Development and testing
|
|
214
|
+
|
|
215
|
+
Run tests from the repository root with:
|
|
216
|
+
|
|
217
|
+
```bash
|
|
218
|
+
$env:PYTHONPATH="src"
|
|
219
|
+
python -m unittest discover -s tests
|
|
220
|
+
```
|
|
221
|
+
|
|
222
|
+
Build release artifacts with:
|
|
223
|
+
|
|
224
|
+
```bash
|
|
225
|
+
python setup.py sdist bdist_wheel
|
|
226
|
+
```
|
|
227
|
+
|
|
228
|
+
---
|
|
229
|
+
|
|
230
|
+
© 2026 [Zenith Open Source Projects](https://zenithopensourceprojects.vercel.app/). All Rights Reserved. Zenith is a Open Source Project Idea's by @roshhellwett
|
{projectdevsetup-1.0.1/build → projectdevsetup-1.1.0/src}/projectdevsetup.egg-info/SOURCES.txt
RENAMED
|
@@ -12,6 +12,12 @@ src/projectdevsetup/path_manager.py
|
|
|
12
12
|
src/projectdevsetup/permissions.py
|
|
13
13
|
src/projectdevsetup/vscode.py
|
|
14
14
|
src/projectdevsetup/wizard.py
|
|
15
|
+
src/projectdevsetup.egg-info/PKG-INFO
|
|
16
|
+
src/projectdevsetup.egg-info/SOURCES.txt
|
|
17
|
+
src/projectdevsetup.egg-info/dependency_links.txt
|
|
18
|
+
src/projectdevsetup.egg-info/entry_points.txt
|
|
19
|
+
src/projectdevsetup.egg-info/requires.txt
|
|
20
|
+
src/projectdevsetup.egg-info/top_level.txt
|
|
15
21
|
src/projectdevsetup/templates/Hello.java
|
|
16
22
|
src/projectdevsetup/templates/hello.c
|
|
17
23
|
src/projectdevsetup/templates/hello.cpp
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
colorama>=0.4.6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
projectdevsetup
|
projectdevsetup-1.0.1/setup.cfg
DELETED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|