python-dotenvx 0.2.4__tar.gz → 0.2.6__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.
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/CHANGELOG.md +13 -1
- {python_dotenvx-0.2.4/src/python_dotenvx.egg-info → python_dotenvx-0.2.6}/PKG-INFO +17 -2
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/README.md +3 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/src/dotenvx/__version__.py +1 -1
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/src/dotenvx/main.py +6 -3
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6/src/python_dotenvx.egg-info}/PKG-INFO +17 -2
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/LICENSE +0 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/MANIFEST.in +0 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/pyproject.toml +0 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/setup.cfg +0 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/setup.py +0 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/src/dotenvx/__init__.py +0 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/src/dotenvx/bin/dotenvx +0 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/src/python_dotenvx.egg-info/SOURCES.txt +0 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/src/python_dotenvx.egg-info/dependency_links.txt +0 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/src/python_dotenvx.egg-info/entry_points.txt +0 -0
- {python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/src/python_dotenvx.egg-info/top_level.txt +0 -0
|
@@ -2,7 +2,19 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
## [Unreleased](https://github.com/dotenvx/python-dotenvx/compare/v0.2.
|
|
5
|
+
## [Unreleased](https://github.com/dotenvx/python-dotenvx/compare/v0.2.6...main)
|
|
6
|
+
|
|
7
|
+
## [0.2.6](https://github.com/dotenvx/dotenvx/compare/v0.2.5...v0.2.6)
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
* Add force to the binary install
|
|
12
|
+
|
|
13
|
+
## [0.2.5](https://github.com/dotenvx/dotenvx/compare/v0.2.4...v0.2.5)
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
|
|
17
|
+
* Add additional bin/* candidate to check for dotenvx binary
|
|
6
18
|
|
|
7
19
|
## [0.2.4](https://github.com/dotenvx/dotenvx/compare/v0.2.3...v0.2.4)
|
|
8
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-dotenvx
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: [dotenvx.com] a better dotenv–from the creator of `dotenv`
|
|
5
5
|
Home-page: https://github.com/dotenvx/python-dotenvx
|
|
6
6
|
Author: dotenv
|
|
@@ -54,6 +54,9 @@ dotenvx-postinstall
|
|
|
54
54
|
|
|
55
55
|
# or to specify the os-arch – useful for building binaries to a specific target such as linux-x86_64 on aws lambda
|
|
56
56
|
dotenvx-postinstall --os linux --arch x86_64
|
|
57
|
+
|
|
58
|
+
# you might also find you need to specify PYTHONPATH depend on how/where dotenvx installs to
|
|
59
|
+
PYTHONPATH=. bin/dotenvx-postinstall --os linux --arch x86_64
|
|
57
60
|
```
|
|
58
61
|
|
|
59
62
|
Then use it in code.
|
|
@@ -73,7 +76,19 @@ print(os.getenv("S3_BUCKET"))
|
|
|
73
76
|
|
|
74
77
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
75
78
|
|
|
76
|
-
## [Unreleased](https://github.com/dotenvx/python-dotenvx/compare/v0.2.
|
|
79
|
+
## [Unreleased](https://github.com/dotenvx/python-dotenvx/compare/v0.2.6...main)
|
|
80
|
+
|
|
81
|
+
## [0.2.6](https://github.com/dotenvx/dotenvx/compare/v0.2.5...v0.2.6)
|
|
82
|
+
|
|
83
|
+
### Changed
|
|
84
|
+
|
|
85
|
+
* Add force to the binary install
|
|
86
|
+
|
|
87
|
+
## [0.2.5](https://github.com/dotenvx/dotenvx/compare/v0.2.4...v0.2.5)
|
|
88
|
+
|
|
89
|
+
### Added
|
|
90
|
+
|
|
91
|
+
* Add additional bin/* candidate to check for dotenvx binary
|
|
77
92
|
|
|
78
93
|
## [0.2.4](https://github.com/dotenvx/dotenvx/compare/v0.2.3...v0.2.4)
|
|
79
94
|
|
|
@@ -33,6 +33,9 @@ dotenvx-postinstall
|
|
|
33
33
|
|
|
34
34
|
# or to specify the os-arch – useful for building binaries to a specific target such as linux-x86_64 on aws lambda
|
|
35
35
|
dotenvx-postinstall --os linux --arch x86_64
|
|
36
|
+
|
|
37
|
+
# you might also find you need to specify PYTHONPATH depend on how/where dotenvx installs to
|
|
38
|
+
PYTHONPATH=. bin/dotenvx-postinstall --os linux --arch x86_64
|
|
36
39
|
```
|
|
37
40
|
|
|
38
41
|
Then use it in code.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
__title__ = "python-dotenvx"
|
|
2
2
|
__description__ = "[dotenvx.com] a better dotenv–from the creator of `dotenv`"
|
|
3
3
|
__url__ = "https://github.com/dotenvx/python-dotenvx"
|
|
4
|
-
__version__ = "0.2.
|
|
4
|
+
__version__ = "0.2.6"
|
|
5
5
|
__author__ = "dotenv"
|
|
6
6
|
__author_email__ = "mot@dotenvx.com"
|
|
7
7
|
__license__ = "BSD-3-Clause"
|
|
@@ -30,8 +30,11 @@ def get():
|
|
|
30
30
|
return output.stdout.strip()
|
|
31
31
|
|
|
32
32
|
def binary():
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
candidates = [
|
|
34
|
+
os.path.join(os.path.dirname(__file__), "bin", "dotenvx"), # package-local
|
|
35
|
+
os.path.join(os.getcwd(), "bin", "dotenvx"), # project-local
|
|
36
|
+
shutil.which("dotenvx") # global/system
|
|
37
|
+
]
|
|
35
38
|
|
|
36
39
|
for candidate in candidates:
|
|
37
40
|
if candidate and os.path.isfile(candidate) and os.access(candidate, os.X_OK):
|
|
@@ -58,7 +61,7 @@ def postinstall():
|
|
|
58
61
|
bin_dir = os.path.join(os.path.dirname(__file__), "bin")
|
|
59
62
|
os.makedirs(bin_dir, exist_ok=True)
|
|
60
63
|
|
|
61
|
-
url = f"https://dotenvx.sh?directory={bin_dir}"
|
|
64
|
+
url = f"https://dotenvx.sh?directory={bin_dir}&force=true"
|
|
62
65
|
if args.os:
|
|
63
66
|
url += f"&os={args.os}"
|
|
64
67
|
if args.arch:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: python-dotenvx
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.6
|
|
4
4
|
Summary: [dotenvx.com] a better dotenv–from the creator of `dotenv`
|
|
5
5
|
Home-page: https://github.com/dotenvx/python-dotenvx
|
|
6
6
|
Author: dotenv
|
|
@@ -54,6 +54,9 @@ dotenvx-postinstall
|
|
|
54
54
|
|
|
55
55
|
# or to specify the os-arch – useful for building binaries to a specific target such as linux-x86_64 on aws lambda
|
|
56
56
|
dotenvx-postinstall --os linux --arch x86_64
|
|
57
|
+
|
|
58
|
+
# you might also find you need to specify PYTHONPATH depend on how/where dotenvx installs to
|
|
59
|
+
PYTHONPATH=. bin/dotenvx-postinstall --os linux --arch x86_64
|
|
57
60
|
```
|
|
58
61
|
|
|
59
62
|
Then use it in code.
|
|
@@ -73,7 +76,19 @@ print(os.getenv("S3_BUCKET"))
|
|
|
73
76
|
|
|
74
77
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
75
78
|
|
|
76
|
-
## [Unreleased](https://github.com/dotenvx/python-dotenvx/compare/v0.2.
|
|
79
|
+
## [Unreleased](https://github.com/dotenvx/python-dotenvx/compare/v0.2.6...main)
|
|
80
|
+
|
|
81
|
+
## [0.2.6](https://github.com/dotenvx/dotenvx/compare/v0.2.5...v0.2.6)
|
|
82
|
+
|
|
83
|
+
### Changed
|
|
84
|
+
|
|
85
|
+
* Add force to the binary install
|
|
86
|
+
|
|
87
|
+
## [0.2.5](https://github.com/dotenvx/dotenvx/compare/v0.2.4...v0.2.5)
|
|
88
|
+
|
|
89
|
+
### Added
|
|
90
|
+
|
|
91
|
+
* Add additional bin/* candidate to check for dotenvx binary
|
|
77
92
|
|
|
78
93
|
## [0.2.4](https://github.com/dotenvx/dotenvx/compare/v0.2.3...v0.2.4)
|
|
79
94
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{python_dotenvx-0.2.4 → python_dotenvx-0.2.6}/src/python_dotenvx.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|