summaryrefslogtreecommitdiff
path: root/setuptools/command/sdist.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2021-09-26 10:47:51 -0400
committerGitHub <noreply@github.com>2021-09-26 10:47:51 -0400
commitbaaf8cdac81aa19db922c06a8f43bedf2c23c8d0 (patch)
treee2f031d07f09e2ea2c2d9d7285ac2f4888837503 /setuptools/command/sdist.py
parenta5ed0a8f7be889baba57c2f874ba32e5b09ecfd8 (diff)
parent576dece3643485052ba90fdadc81dfcf6028acc4 (diff)
downloadpython-setuptools-git-baaf8cdac81aa19db922c06a8f43bedf2c23c8d0.tar.gz
Merge pull request #2800 from jmarshall/feature/sdist-owner-group
sdist: Accept -u/--owner and -g/--group options
Diffstat (limited to 'setuptools/command/sdist.py')
-rw-r--r--setuptools/command/sdist.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/setuptools/command/sdist.py b/setuptools/command/sdist.py
index 4a014283..e8062f2e 100644
--- a/setuptools/command/sdist.py
+++ b/setuptools/command/sdist.py
@@ -31,6 +31,10 @@ class sdist(sdist_add_defaults, orig.sdist):
('dist-dir=', 'd',
"directory to put the source distribution archive(s) in "
"[default: dist]"),
+ ('owner=', 'u',
+ "Owner name used when creating a tar file [default: current user]"),
+ ('group=', 'g',
+ "Group name used when creating a tar file [default: current group]"),
]
negative_opt = {}