Skip to content
This repository was archived by the owner on Dec 5, 2022. It is now read-only.

Commit f4dee46

Browse files
committed
add license and "-t" argument
1 parent 9133bc1 commit f4dee46

File tree

4 files changed

+22
-2
lines changed

4 files changed

+22
-2
lines changed

LICENSE

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2014 Zalando SE
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

MANIFEST.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
include *.txt
2+
include *.rst
3+
include LICENSE
4+
recursive-include pequod_agent *.py
5+
recursive-include docs *.rst *.py

nsenter/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ def __exit__(self, type, value, tb):
4848

4949
def main():
5050
parser = argparse.ArgumentParser(description=__doc__)
51-
parser.add_argument('--target', required=True, metavar='PID', help='Specify a target process to get contexts from.')
51+
parser.add_argument('--target', '-t', required=True, metavar='PID', help='Specify a target process to get contexts from.')
5252
for ns in NAMESPACE_NAMES:
5353
parser.add_argument('--{}'.format(ns), action='store_true', help='Enter the {} namespace'.format(ns))
5454
parser.add_argument('--all', action='store_true', help='Enter all namespaces')

setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,14 @@ def read(fname):
1212
def setup_package():
1313
setuptools.setup(
1414
name='nsenter',
15-
version='0.1.3',
15+
version='0.1.4',
1616
url='https://github.com/zalando/python-nsenter',
1717
description='Enter kernel namespaces from Python',
1818
author='Henning Jacobs',
1919
author_email='[email protected]',
2020
long_description=read('README.rst'),
21+
license='Apache License 2.0',
22+
keywords='docker container namespace kernel setns',
2123
classifiers=[
2224
'Development Status :: 4 - Beta',
2325
'Programming Language :: Python',

0 commit comments

Comments
 (0)