You're Invited:Meet the Socket Team at RSAC and BSidesSF 2026, March 23–26.RSVP
Socket
Book a DemoSign in
Socket

envdir

Package Overview
Dependencies
Maintainers
3
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

envdir - pypi Package Compare versions

Comparing version
0.2.1
to
0.3
+28
CHANGES.rst
Changelog
---------
0.3 (07/30/2013)
^^^^^^^^^^^^^^^^
* Catch ``KeyboardInterrupt`` exceptions to not show a traceback from envdir
but the repsonse from the called command.
* Allow multiline environment variables. Thanks to Horst Gutmann for the
suggestion. This is a departure from daemontools' standard which only
allows the first line of the environment variable file.
0.2.1 (07/11/2013)
^^^^^^^^^^^^^^^^^^
* Fixed ``python -m envdir``
* Extended README to better describe the purpose
0.2 (07/10/2013)
^^^^^^^^^^^^^^^^
* Added ability to use envdir from Python.
0.1 (07/10/2013)
^^^^^^^^^^^^^^^^
* Initial release.
+25
-9
Metadata-Version: 1.1
Name: envdir
Version: 0.2.1
Version: 0.3
Summary: A Python port of daemontools' envdir.

@@ -9,4 +9,4 @@ Home-page: http://github.com/jezdez/envdir

License: MIT
Description: envdir
======
Description: envdir (Python port)
====================

@@ -17,4 +17,6 @@ .. image:: https://api.travis-ci.org/jezdez/envdir.png

This is a Python port of daemontools_' envdir_.
This is a Python port of daemontools_' tool `envdir <http://cr.yp.to/daemontools/envdir.html>`_.
.. _daemontools: http://cr.yp.to/daemontools.html
What?

@@ -32,3 +34,3 @@ -----

envdir allows you to set a series of environment variables at once to simplify
maintaing complicated environments, for example in wich you have multiple sets
maintaing complicated environments, for example in which you have multiple sets
of those configuration variables depending on the infrastructure you run your

@@ -72,3 +74,3 @@ program on (e.g. Windows vs. Linux, Staging vs. Production, Old system vs.

Because envdir small enough that it shouldn't be tied to a bigger
Because envdir is small enough that it shouldn't be tied to a bigger
software distribution like daemontools that requires a compiler.

@@ -123,2 +125,8 @@

.. note::
This Python port behaves different for multi line environment variables.
It will not only read the first line of the file but the whole file. Take
care with big files!
Alternatively you can also use the ``python -m envdir`` form to call envdir.

@@ -149,4 +157,2 @@

.. _daemontools: http://cr.yp.to/daemontools.html
.. _envdir: http://cr.yp.to/daemontools/envdir.html

@@ -156,2 +162,12 @@ Changelog

0.3 (07/30/2013)
^^^^^^^^^^^^^^^^
* Catch ``KeyboardInterrupt`` exceptions to not show a traceback from envdir
but the repsonse from the called command.
* Allow multiline environment variables. Thanks to Horst Gutmann for the
suggestion. This is a departure from daemontools' standard which only
allows the first line of the environment variable file.
0.2.1 (07/11/2013)

@@ -179,3 +195,2 @@ ^^^^^^^^^^^^^^^^^^

Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6

@@ -186,1 +201,2 @@ Classifier: Programming Language :: Python :: 2.7

Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3

@@ -0,1 +1,2 @@

CHANGES.rst
MANIFEST.in

@@ -2,0 +3,0 @@ README.rst

@@ -7,3 +7,3 @@ import glob

__version__ = '0.2.1'
__version__ = '0.3'

@@ -44,3 +44,3 @@

root, name = os.path.split(env_path)
value = env_file.readline().strip()
value = env_file.read().strip()
yield name, value

@@ -86,6 +86,8 @@

close_fds=True)
try:
if process.wait() != 0:
self.parser.exit(process.returncode, '')
except KeyboardInterrupt:
self.parser.exit()
if process.wait() != 0:
self.parser.exit(process.returncode, '')
envdir = Envdir()

@@ -92,0 +94,0 @@

@@ -1,2 +0,2 @@

include README.rst
include README.rst CHANGES.rst
include tests.t
Metadata-Version: 1.1
Name: envdir
Version: 0.2.1
Version: 0.3
Summary: A Python port of daemontools' envdir.

@@ -9,4 +9,4 @@ Home-page: http://github.com/jezdez/envdir

License: MIT
Description: envdir
======
Description: envdir (Python port)
====================

@@ -17,4 +17,6 @@ .. image:: https://api.travis-ci.org/jezdez/envdir.png

This is a Python port of daemontools_' envdir_.
This is a Python port of daemontools_' tool `envdir <http://cr.yp.to/daemontools/envdir.html>`_.
.. _daemontools: http://cr.yp.to/daemontools.html
What?

@@ -32,3 +34,3 @@ -----

envdir allows you to set a series of environment variables at once to simplify
maintaing complicated environments, for example in wich you have multiple sets
maintaing complicated environments, for example in which you have multiple sets
of those configuration variables depending on the infrastructure you run your

@@ -72,3 +74,3 @@ program on (e.g. Windows vs. Linux, Staging vs. Production, Old system vs.

Because envdir small enough that it shouldn't be tied to a bigger
Because envdir is small enough that it shouldn't be tied to a bigger
software distribution like daemontools that requires a compiler.

@@ -123,2 +125,8 @@

.. note::
This Python port behaves different for multi line environment variables.
It will not only read the first line of the file but the whole file. Take
care with big files!
Alternatively you can also use the ``python -m envdir`` form to call envdir.

@@ -149,4 +157,2 @@

.. _daemontools: http://cr.yp.to/daemontools.html
.. _envdir: http://cr.yp.to/daemontools/envdir.html

@@ -156,2 +162,12 @@ Changelog

0.3 (07/30/2013)
^^^^^^^^^^^^^^^^
* Catch ``KeyboardInterrupt`` exceptions to not show a traceback from envdir
but the repsonse from the called command.
* Allow multiline environment variables. Thanks to Horst Gutmann for the
suggestion. This is a departure from daemontools' standard which only
allows the first line of the environment variable file.
0.2.1 (07/11/2013)

@@ -179,3 +195,2 @@ ^^^^^^^^^^^^^^^^^^

Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.5
Classifier: Programming Language :: Python :: 2.6

@@ -186,1 +201,2 @@ Classifier: Programming Language :: Python :: 2.7

Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3

@@ -1,3 +0,3 @@

envdir
======
envdir (Python port)
====================

@@ -8,4 +8,6 @@ .. image:: https://api.travis-ci.org/jezdez/envdir.png

This is a Python port of daemontools_' envdir_.
This is a Python port of daemontools_' tool `envdir <http://cr.yp.to/daemontools/envdir.html>`_.
.. _daemontools: http://cr.yp.to/daemontools.html
What?

@@ -23,3 +25,3 @@ -----

envdir allows you to set a series of environment variables at once to simplify
maintaing complicated environments, for example in wich you have multiple sets
maintaing complicated environments, for example in which you have multiple sets
of those configuration variables depending on the infrastructure you run your

@@ -63,3 +65,3 @@ program on (e.g. Windows vs. Linux, Staging vs. Production, Old system vs.

Because envdir small enough that it shouldn't be tied to a bigger
Because envdir is small enough that it shouldn't be tied to a bigger
software distribution like daemontools that requires a compiler.

@@ -114,2 +116,8 @@

.. note::
This Python port behaves different for multi line environment variables.
It will not only read the first line of the file but the whole file. Take
care with big files!
Alternatively you can also use the ``python -m envdir`` form to call envdir.

@@ -139,23 +147,1 @@

Say thanks at https://www.gittip.com/jezdez/.
.. _daemontools: http://cr.yp.to/daemontools.html
.. _envdir: http://cr.yp.to/daemontools/envdir.html
Changelog
---------
0.2.1 (07/11/2013)
^^^^^^^^^^^^^^^^^^
* Fixed ``python -m envdir``
* Extended README to better describe the purpose
0.2 (07/10/2013)
^^^^^^^^^^^^^^^^
* Added ability to use envdir from Python.
0.1 (07/10/2013)
^^^^^^^^^^^^^^^^
* Initial release.

@@ -5,5 +5,5 @@ [wheel]

[egg_info]
tag_build =
tag_date = 0
tag_svn_revision = 0
tag_build =

@@ -44,3 +44,2 @@ import codecs

'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.5',
'Programming Language :: Python :: 2.6',

@@ -51,5 +50,6 @@ 'Programming Language :: Python :: 2.7',

'Programming Language :: Python :: 3.2',
'Programming Language :: Python :: 3.3',
],
description="A Python port of daemontools' envdir.",
long_description=read('README.rst'),
long_description=read('README.rst') + '\n\n' + read('CHANGES.rst'),
author='Jannis Leidel',

@@ -56,0 +56,0 @@ author_email='jannis@leidel.info',

Sorry, the diff of this file is not supported yet