a zc.buildout recipe to know whoami
Project description
mete0r.recipe.whoami
====================
Usage
-----
A sample buildout.
::
[buildout]
parts = whoami.txt
[whoami]
recipe = mete0r.recipe.whoami
[whoami.txt]
recipe = collective.recipe.template
output = ${buildout:directory}/whoami.txt
input=inline:
user=${whoami:user}
user-id=${whoami:user-id}
group=${whoami:group}
group-id=${whoami:group-id}
real-user=${whoami:real-user}
real-user-id=${whoami:real-user-id}
real-group=${whoami:real-group}
real-group-id=${whoami:real-group-id}
Development environment
-----------------------
To setup development environment::
virtualenv -p python2.7 .
bin/pip install -U setuptools pip pip-tools
make
make test
Changes
=======
0.1.2 (2018-10-27)
------------------
- Python 3 support.
0.1.1 (2015-06-25)
------------------
- Fix setup.
0.1.0 (2015-06-25)
------------------
- Fix packaging.
====================
Usage
-----
A sample buildout.
::
[buildout]
parts = whoami.txt
[whoami]
recipe = mete0r.recipe.whoami
[whoami.txt]
recipe = collective.recipe.template
output = ${buildout:directory}/whoami.txt
input=inline:
user=${whoami:user}
user-id=${whoami:user-id}
group=${whoami:group}
group-id=${whoami:group-id}
real-user=${whoami:real-user}
real-user-id=${whoami:real-user-id}
real-group=${whoami:real-group}
real-group-id=${whoami:real-group-id}
Development environment
-----------------------
To setup development environment::
virtualenv -p python2.7 .
bin/pip install -U setuptools pip pip-tools
make
make test
Changes
=======
0.1.2 (2018-10-27)
------------------
- Python 3 support.
0.1.1 (2015-06-25)
------------------
- Fix setup.
0.1.0 (2015-06-25)
------------------
- Fix packaging.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file mete0r.recipe.whoami-0.1.2.tar.gz
.
File metadata
- Download URL: mete0r.recipe.whoami-0.1.2.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55b8d57d173cc49a0bf97f0ba94bc021808055bdb0f09a6796aab091452ca873 |
|
MD5 | 99e69175a00491022a04ed1634d41dff |
|
BLAKE2b-256 | a4df6fd60eab78252396c380c340766874894e9232ebe47c46745c0bc4eb7f6d |