nexenv 0.0.1__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.
- nexenv-0.0.1/PKG-INFO +48 -0
- nexenv-0.0.1/README.md +30 -0
- nexenv-0.0.1/nexenv/__init__.py +3 -0
- nexenv-0.0.1/nexenv/__main__.py +6 -0
- nexenv-0.0.1/nexenv/cli.py +92 -0
- nexenv-0.0.1/nexenv.egg-info/PKG-INFO +48 -0
- nexenv-0.0.1/nexenv.egg-info/SOURCES.txt +10 -0
- nexenv-0.0.1/nexenv.egg-info/dependency_links.txt +1 -0
- nexenv-0.0.1/nexenv.egg-info/entry_points.txt +2 -0
- nexenv-0.0.1/nexenv.egg-info/top_level.txt +1 -0
- nexenv-0.0.1/pyproject.toml +30 -0
- nexenv-0.0.1/setup.cfg +4 -0
nexenv-0.0.1/PKG-INFO
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nexenv
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Workspace manager for developers
|
|
5
|
+
Author-email: Delixon Labs <hello@delixon.dev>
|
|
6
|
+
License: FSL-1.1-ALv2
|
|
7
|
+
Project-URL: Homepage, https://delixon.dev/nexenv
|
|
8
|
+
Project-URL: Repository, https://github.com/delixon-labs/delixon-nexenv
|
|
9
|
+
Keywords: nexenv,developer-tools,workspace-manager,devtools
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Environment :: Console
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
16
|
+
Requires-Python: >=3.9
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# nexenv
|
|
20
|
+
|
|
21
|
+
Workspace manager for developers.
|
|
22
|
+
|
|
23
|
+
Stop configuring. Start building.
|
|
24
|
+
|
|
25
|
+
## Install
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install nexenv
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
nexenv --version
|
|
35
|
+
nexenv --help
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Links
|
|
39
|
+
|
|
40
|
+
- Website: https://delixon.dev/nexenv
|
|
41
|
+
- GitHub: https://github.com/delixon-labs/delixon-nexenv
|
|
42
|
+
- License: [FSL-1.1-ALv2](https://github.com/delixon-labs/delixon-nexenv/blob/main/LICENSE)
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
Nexenv is a product of [Delixon Labs](https://delixon.dev).
|
|
47
|
+
|
|
48
|
+
© 2026 [XPlus Technologies LLC](https://xplustechnologies.com). All rights reserved.
|
nexenv-0.0.1/README.md
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# nexenv
|
|
2
|
+
|
|
3
|
+
Workspace manager for developers.
|
|
4
|
+
|
|
5
|
+
Stop configuring. Start building.
|
|
6
|
+
|
|
7
|
+
## Install
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
pip install nexenv
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
nexenv --version
|
|
17
|
+
nexenv --help
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Links
|
|
21
|
+
|
|
22
|
+
- Website: https://delixon.dev/nexenv
|
|
23
|
+
- GitHub: https://github.com/delixon-labs/delixon-nexenv
|
|
24
|
+
- License: [FSL-1.1-ALv2](https://github.com/delixon-labs/delixon-nexenv/blob/main/LICENSE)
|
|
25
|
+
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
Nexenv is a product of [Delixon Labs](https://delixon.dev).
|
|
29
|
+
|
|
30
|
+
© 2026 [XPlus Technologies LLC](https://xplustechnologies.com). All rights reserved.
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
"""Nexenv CLI wrapper — downloads and executes the native binary."""
|
|
2
|
+
|
|
3
|
+
import os
|
|
4
|
+
import platform
|
|
5
|
+
import subprocess
|
|
6
|
+
import sys
|
|
7
|
+
import urllib.request
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
|
|
10
|
+
__version__ = "0.0.1"
|
|
11
|
+
|
|
12
|
+
PLATFORM_MAP = {
|
|
13
|
+
("Windows", "AMD64"): "nexenv-cli-win32-x64.exe",
|
|
14
|
+
("Windows", "x86_64"): "nexenv-cli-win32-x64.exe",
|
|
15
|
+
("Linux", "x86_64"): "nexenv-cli-linux-x64",
|
|
16
|
+
("Darwin", "arm64"): "nexenv-cli-darwin-arm64",
|
|
17
|
+
("Darwin", "x86_64"): "nexenv-cli-darwin-x64",
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
RELEASE_URL = "https://github.com/delixon-labs/delixon-nexenv/releases/download/v{version}/{binary}"
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
def get_bin_dir() -> Path:
|
|
24
|
+
"""Directory where the native binary is stored."""
|
|
25
|
+
home = Path.home() / ".nexenv" / "bin"
|
|
26
|
+
home.mkdir(parents=True, exist_ok=True)
|
|
27
|
+
return home
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
def get_binary_name() -> str:
|
|
31
|
+
"""Get the correct binary name for this platform."""
|
|
32
|
+
system = platform.system()
|
|
33
|
+
machine = platform.machine()
|
|
34
|
+
key = (system, machine)
|
|
35
|
+
|
|
36
|
+
binary = PLATFORM_MAP.get(key)
|
|
37
|
+
if not binary:
|
|
38
|
+
print(f"Nexenv: plataforma no soportada ({system} {machine})", file=sys.stderr)
|
|
39
|
+
print("Plataformas soportadas: Windows x64, Linux x64, macOS arm64/x64", file=sys.stderr)
|
|
40
|
+
sys.exit(1)
|
|
41
|
+
|
|
42
|
+
return binary
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
def get_binary_path() -> Path:
|
|
46
|
+
"""Get the full path to the native binary."""
|
|
47
|
+
binary_name = get_binary_name()
|
|
48
|
+
# Use simple name for the local binary
|
|
49
|
+
local_name = "nexenv.exe" if platform.system() == "Windows" else "nexenv"
|
|
50
|
+
return get_bin_dir() / local_name
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
def download_binary(version: str) -> Path:
|
|
54
|
+
"""Download the native binary from GitHub Releases."""
|
|
55
|
+
binary_name = get_binary_name()
|
|
56
|
+
url = RELEASE_URL.format(version=version, binary=binary_name)
|
|
57
|
+
dest = get_binary_path()
|
|
58
|
+
|
|
59
|
+
print(f"Nexenv: descargando binario v{version}...")
|
|
60
|
+
try:
|
|
61
|
+
urllib.request.urlretrieve(url, dest)
|
|
62
|
+
except Exception as e:
|
|
63
|
+
print(f"Nexenv: error descargando binario: {e}", file=sys.stderr)
|
|
64
|
+
print(f"URL: {url}", file=sys.stderr)
|
|
65
|
+
sys.exit(1)
|
|
66
|
+
|
|
67
|
+
# Make executable on Unix
|
|
68
|
+
if platform.system() != "Windows":
|
|
69
|
+
os.chmod(dest, 0o755)
|
|
70
|
+
|
|
71
|
+
print(f"Nexenv: binario instalado en {dest}")
|
|
72
|
+
return dest
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
def main():
|
|
76
|
+
"""Entry point — run the native binary or download it first."""
|
|
77
|
+
binary = get_binary_path()
|
|
78
|
+
|
|
79
|
+
# Download if not exists
|
|
80
|
+
if not binary.exists():
|
|
81
|
+
binary = download_binary(__version__)
|
|
82
|
+
|
|
83
|
+
# Execute the native binary with all arguments
|
|
84
|
+
try:
|
|
85
|
+
result = subprocess.run([str(binary)] + sys.argv[1:])
|
|
86
|
+
sys.exit(result.returncode)
|
|
87
|
+
except FileNotFoundError:
|
|
88
|
+
print("Nexenv: binario no encontrado. Reinstala con: pip install --force-reinstall nexenv", file=sys.stderr)
|
|
89
|
+
sys.exit(1)
|
|
90
|
+
except PermissionError:
|
|
91
|
+
print("Nexenv: sin permisos de ejecucion. Reinstala con: pip install --force-reinstall nexenv", file=sys.stderr)
|
|
92
|
+
sys.exit(1)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: nexenv
|
|
3
|
+
Version: 0.0.1
|
|
4
|
+
Summary: Workspace manager for developers
|
|
5
|
+
Author-email: Delixon Labs <hello@delixon.dev>
|
|
6
|
+
License: FSL-1.1-ALv2
|
|
7
|
+
Project-URL: Homepage, https://delixon.dev/nexenv
|
|
8
|
+
Project-URL: Repository, https://github.com/delixon-labs/delixon-nexenv
|
|
9
|
+
Keywords: nexenv,developer-tools,workspace-manager,devtools
|
|
10
|
+
Classifier: Development Status :: 3 - Alpha
|
|
11
|
+
Classifier: Environment :: Console
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: Operating System :: OS Independent
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Topic :: Software Development :: Build Tools
|
|
16
|
+
Requires-Python: >=3.9
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# nexenv
|
|
20
|
+
|
|
21
|
+
Workspace manager for developers.
|
|
22
|
+
|
|
23
|
+
Stop configuring. Start building.
|
|
24
|
+
|
|
25
|
+
## Install
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
pip install nexenv
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Usage
|
|
32
|
+
|
|
33
|
+
```bash
|
|
34
|
+
nexenv --version
|
|
35
|
+
nexenv --help
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Links
|
|
39
|
+
|
|
40
|
+
- Website: https://delixon.dev/nexenv
|
|
41
|
+
- GitHub: https://github.com/delixon-labs/delixon-nexenv
|
|
42
|
+
- License: [FSL-1.1-ALv2](https://github.com/delixon-labs/delixon-nexenv/blob/main/LICENSE)
|
|
43
|
+
|
|
44
|
+
---
|
|
45
|
+
|
|
46
|
+
Nexenv is a product of [Delixon Labs](https://delixon.dev).
|
|
47
|
+
|
|
48
|
+
© 2026 [XPlus Technologies LLC](https://xplustechnologies.com). All rights reserved.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
nexenv
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "nexenv"
|
|
7
|
+
version = "0.0.1"
|
|
8
|
+
description = "Workspace manager for developers"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = {text = "FSL-1.1-ALv2"}
|
|
11
|
+
requires-python = ">=3.9"
|
|
12
|
+
authors = [
|
|
13
|
+
{name = "Delixon Labs", email = "hello@delixon.dev"}
|
|
14
|
+
]
|
|
15
|
+
keywords = ["nexenv", "developer-tools", "workspace-manager", "devtools"]
|
|
16
|
+
classifiers = [
|
|
17
|
+
"Development Status :: 3 - Alpha",
|
|
18
|
+
"Environment :: Console",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
"Operating System :: OS Independent",
|
|
21
|
+
"Programming Language :: Python :: 3",
|
|
22
|
+
"Topic :: Software Development :: Build Tools",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[project.urls]
|
|
26
|
+
Homepage = "https://delixon.dev/nexenv"
|
|
27
|
+
Repository = "https://github.com/delixon-labs/delixon-nexenv"
|
|
28
|
+
|
|
29
|
+
[project.scripts]
|
|
30
|
+
nexenv = "nexenv.cli:main"
|
nexenv-0.0.1/setup.cfg
ADDED