Verified Commit 0a06b63d authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Convert to setuptools, add and CONTRIBUTORS

Signed-off-by: Andrej Shadura's avatarAndrej Shadura <>
parent 596b4433
Andrej Shadura <>
Andrew Lee (李健秋) <>
Danilo Cesar Lemes de Paula <>
Simon McVittie <>
osc dput
The dput plugin for Open Build Service commander is designed to help
quickly upload Debian source packages to OBS without needing to manually
check out the source, add new files, remove old files and commit it again.
`osc dput` automates the submission process, automagically extracting
the list of files and the commit message from the `.changes` file.
To install osc-plugin-clone, type:
./ install
At the moment, installing to a user's home directory isn't supported.
This program is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later
This program is distributed in the hope that it will be
useful, but WITHOUT ANY WARRANTY; without even the implied
PURPOSE. See the GNU General Public License version 2
text for more details.
You should have received a copy of the GNU General Public
License along with this package; if not, write to the Free
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
Boston, MA 02110-1301 USA
For the list of contributors, see CONTRIBUTORS.
......@@ -4,9 +4,7 @@ import sys
import osc.cmdln as cmdln
sys.path.insert(0, '/usr/share/osc-plugins-dput')
import osc_plugins_dput
import osc_plugin_dput
@cmdln.option('--maintained-in-git', action='store_true',
help='add MAINTAINED_IN_GIT.txt')
......@@ -24,7 +22,7 @@ def do_dput(self, subcmd, opts, proj_name, dsc_file):
# in older versions of osc, this ends up in the class namespace (!)
if hasattr(self, "osc_plugins_dput"):
osc_plugins_dput = self.osc_plugins_dput
if hasattr(self, "osc_plugin_dput"):
osc_plugin_dput = self.osc_plugin_dput
osc_plugins_dput.do_dput(self, subcmd, opts, proj_name, dsc_file)
osc_plugin_dput.do_dput(self, subcmd, opts, proj_name, dsc_file)
from .main import do_dput
name = osc-plugin-dput
version = 20180227.0
description = dput plugin for Open Build Service commander
long_description =
url =
license = GPL-2+
classifiers =
Development Status :: 4 - Beta
Environment :: Console
Intended Audience :: Developers
Intended Audience :: System Administrators
License :: OSI Approved :: GNU General Public License (GPL)
Operating System :: OS Independent
Programming Language :: Python
Programming Language :: Python :: 3
Topic :: Software Development :: Build Tools
packages = find:
install_requires =
osc >= 0.167.1
#!/usr/bin/env python
import os
from setuptools import setup
data_files = [
(os.path.join('lib', 'osc-plugins'), ['']),
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment