envdir
Advanced tools
| Authors | ||
| ======= | ||
| George Yoshida | ||
| Horst Gutmann | ||
| Jannis Leidel |
| __version__ = '0.5' |
+9
-0
| Changelog | ||
| --------- | ||
| 0.5 (09/22/2013) | ||
| ^^^^^^^^^^^^^^^^ | ||
| * Added check if the the provided path is a directory and throw an error if | ||
| not. This adds compatibility to the daemontools' envdir. | ||
| * Make sure to convert Nulls (``\0``) to newlines as done so in daemontools' | ||
| envdir. | ||
| 0.4.1 (08/21/2013) | ||
@@ -5,0 +14,0 @@ ^^^^^^^^^^^^^^^^^^ |
| Metadata-Version: 1.1 | ||
| Name: envdir | ||
| Version: 0.4.1 | ||
| Version: 0.5 | ||
| Summary: A Python port of daemontools' envdir. | ||
@@ -32,3 +32,3 @@ Home-page: http://github.com/jezdez/envdir | ||
| envdir allows you to set a series of environment variables at once to simplify | ||
| maintaing complicated environments, for example in which you have multiple sets | ||
| maintaining complicated environments, for example in which you have multiple sets | ||
| of those configuration variables depending on the infrastructure you run your | ||
@@ -174,2 +174,11 @@ program on (e.g. Windows vs. Linux, Staging vs. Production, Old system vs. | ||
| 0.5 (09/22/2013) | ||
| ^^^^^^^^^^^^^^^^ | ||
| * Added check if the the provided path is a directory and throw an error if | ||
| not. This adds compatibility to the daemontools' envdir. | ||
| * Make sure to convert Nulls (``\0``) to newlines as done so in daemontools' | ||
| envdir. | ||
| 0.4.1 (08/21/2013) | ||
@@ -176,0 +185,0 @@ ^^^^^^^^^^^^^^^^^^ |
@@ -0,1 +1,2 @@ | ||
| AUTHORS.rst | ||
| CHANGES.rst | ||
@@ -10,2 +11,3 @@ MANIFEST.in | ||
| envdir/__main__.py | ||
| envdir/__version__.py | ||
| envdir.egg-info/PKG-INFO | ||
@@ -12,0 +14,0 @@ envdir.egg-info/SOURCES.txt |
@@ -1,3 +0,4 @@ | ||
| from .__main__ import envdir, main, __version__ # noop | ||
| from .__main__ import envdir, main # noop | ||
| from .__version__ import __version__ # noop | ||
| read = envdir.read |
@@ -7,3 +7,3 @@ import glob | ||
| __version__ = '0.4.1' | ||
| from .__version__ import __version__ | ||
@@ -46,3 +46,3 @@ # must have shell = True on Windows | ||
| root, name = os.path.split(env_path) | ||
| value = env_file.read().strip() | ||
| value = env_file.read().strip().replace('\x00', '\n') | ||
| yield name, value | ||
@@ -55,2 +55,5 @@ | ||
| self.parser.error("envdir %r does not exist" % path, no=111) | ||
| if not os.path.isdir(real_path): | ||
| # use 111 error code to adher to envdir's standard | ||
| self.parser.error("envdir %r not a directory" % path, no=111) | ||
| return real_path | ||
@@ -57,0 +60,0 @@ |
+1
-1
@@ -1,1 +0,1 @@ | ||
| include README.rst CHANGES.rst tests.t tox.ini | ||
| include README.rst AUTHORS.rst CHANGES.rst tests.t tox.ini |
+11
-2
| Metadata-Version: 1.1 | ||
| Name: envdir | ||
| Version: 0.4.1 | ||
| Version: 0.5 | ||
| Summary: A Python port of daemontools' envdir. | ||
@@ -32,3 +32,3 @@ Home-page: http://github.com/jezdez/envdir | ||
| envdir allows you to set a series of environment variables at once to simplify | ||
| maintaing complicated environments, for example in which you have multiple sets | ||
| maintaining complicated environments, for example in which you have multiple sets | ||
| of those configuration variables depending on the infrastructure you run your | ||
@@ -174,2 +174,11 @@ program on (e.g. Windows vs. Linux, Staging vs. Production, Old system vs. | ||
| 0.5 (09/22/2013) | ||
| ^^^^^^^^^^^^^^^^ | ||
| * Added check if the the provided path is a directory and throw an error if | ||
| not. This adds compatibility to the daemontools' envdir. | ||
| * Make sure to convert Nulls (``\0``) to newlines as done so in daemontools' | ||
| envdir. | ||
| 0.4.1 (08/21/2013) | ||
@@ -176,0 +185,0 @@ ^^^^^^^^^^^^^^^^^^ |
+1
-1
@@ -24,3 +24,3 @@ envdir (Python port) | ||
| envdir allows you to set a series of environment variables at once to simplify | ||
| maintaing complicated environments, for example in which you have multiple sets | ||
| maintaining complicated environments, for example in which you have multiple sets | ||
| of those configuration variables depending on the infrastructure you run your | ||
@@ -27,0 +27,0 @@ program on (e.g. Windows vs. Linux, Staging vs. Production, Old system vs. |
+1
-1
@@ -37,3 +37,3 @@ import codecs | ||
| setup(name="envdir", | ||
| version=find_version('envdir', '__main__.py'), | ||
| version=find_version('envdir', '__version__.py'), | ||
| classifiers=[ | ||
@@ -40,0 +40,0 @@ 'Development Status :: 4 - Beta', |
Sorry, the diff of this file is not supported yet
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
33993
5.11%18
12.5%175
2.94%