jl95terceira-pytools-env-java 0.1.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.
- jl95terceira_pytools_env_java-0.1.1/.gitignore +2 -0
- jl95terceira_pytools_env_java-0.1.1/PKG-INFO +15 -0
- jl95terceira_pytools_env_java-0.1.1/README.md +1 -0
- jl95terceira_pytools_env_java-0.1.1/project/package/__init__.py +18 -0
- jl95terceira_pytools_env_java-0.1.1/pyproject.toml +31 -0
- jl95terceira_pytools_env_java-0.1.1/requirements-to-build.txt +3 -0
- jl95terceira_pytools_env_java-0.1.1/requirements.txt +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: jl95terceira_pytools_env_java
|
|
3
|
+
Version: 0.1.1
|
|
4
|
+
Summary: Environment variables collection - Java
|
|
5
|
+
Project-URL: Homepage, https://github.com/jl95terceira/project-D-B
|
|
6
|
+
Project-URL: Issues, https://github.com/jl95terceira/project-D-B/issues
|
|
7
|
+
Author-email: Joao Luis Ornelas da Silva <jl95terceira@gmail.com>
|
|
8
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
9
|
+
Classifier: Operating System :: OS Independent
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Requires-Python: >=3.12
|
|
12
|
+
Requires-Dist: jl95terceira-pytools-env==0.1.1
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
|
|
15
|
+
Environment variables collection - Java
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Environment variables collection - Java
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import os.path
|
|
2
|
+
|
|
3
|
+
from jl95terceira.pytools.envlib import vars,var
|
|
4
|
+
|
|
5
|
+
JDK_HOMES:vars.Var[dict[str,str]] \
|
|
6
|
+
= var(name ='jdk.homes',
|
|
7
|
+
description='a map (dict) of Java homes by version (as a string)',
|
|
8
|
+
default =dict())
|
|
9
|
+
MAVEN_HOME = var(name ='maven.home',
|
|
10
|
+
description='the home of Apache Maven')
|
|
11
|
+
MAVEN = var(name ='maven',
|
|
12
|
+
description='the path / alias to Apache Maven executable',
|
|
13
|
+
default = os.path.join(MAVEN_HOME.get(), 'bin', 'mvn.exe') if MAVEN_HOME.check() else 'mvn')
|
|
14
|
+
ANT_HOME = var(name ='ant.home',
|
|
15
|
+
description='the home of Apache Ant')
|
|
16
|
+
ANT = var(name ='ant',
|
|
17
|
+
description='the path / alias to Apache Ant executable',
|
|
18
|
+
default = os.path.join(ANT_HOME.get(), 'bin', 'mvn.exe') if ANT_HOME.check() else 'ant')
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling", "hatch-requirements-txt"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
[project]
|
|
5
|
+
name = "jl95terceira_pytools_env_java"
|
|
6
|
+
version = "0.1.1"
|
|
7
|
+
authors = [
|
|
8
|
+
{ name="Joao Luis Ornelas da Silva", email="jl95terceira@gmail.com" },
|
|
9
|
+
]
|
|
10
|
+
description = "Environment variables collection - Java"
|
|
11
|
+
readme = "README.md"
|
|
12
|
+
requires-python = ">=3.12"
|
|
13
|
+
classifiers = [
|
|
14
|
+
"Programming Language :: Python :: 3",
|
|
15
|
+
"License :: OSI Approved :: MIT License",
|
|
16
|
+
"Operating System :: OS Independent",
|
|
17
|
+
]
|
|
18
|
+
dynamic = ["dependencies"]
|
|
19
|
+
|
|
20
|
+
[project.urls]
|
|
21
|
+
Homepage = "https://github.com/jl95terceira/project-D-B"
|
|
22
|
+
Issues = "https://github.com/jl95terceira/project-D-B/issues"
|
|
23
|
+
|
|
24
|
+
[tool.hatch.build.targets.wheel]
|
|
25
|
+
packages = ["project/package"]
|
|
26
|
+
|
|
27
|
+
[tool.hatch.build.targets.wheel.sources]
|
|
28
|
+
"project/package" = "jl95terceira/pytools/envlib/vars/java"
|
|
29
|
+
|
|
30
|
+
[tool.hatch.metadata.hooks.requirements_txt]
|
|
31
|
+
files = ["requirements.txt"]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
jl95terceira_pytools_env==0.1.1
|