From 1c6d16c6d7521b57486838d0de1f81eb9afddbdc Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Thu, 6 Nov 2014 18:05:35 +0000 Subject: Remove .py from the program filename --- baserock-import | 24 ++++++++++++++++++++++++ baserock-import.py | 24 ------------------------ setup.py | 2 +- 3 files changed, 25 insertions(+), 25 deletions(-) create mode 100644 baserock-import delete mode 100644 baserock-import.py diff --git a/baserock-import b/baserock-import new file mode 100644 index 0000000..b469b74 --- /dev/null +++ b/baserock-import @@ -0,0 +1,24 @@ +#!/usr/bin/python +# Import foreign packaging systems into Baserock +# +# Copyright (C) 2014 Codethink Limited +# +# 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; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program; if not, write to the Free Software Foundation, Inc., +# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + +import baserockimport + + +app = baserockimport.app.BaserockImportApplication(progname='import') +app.run() diff --git a/baserock-import.py b/baserock-import.py deleted file mode 100644 index b469b74..0000000 --- a/baserock-import.py +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/python -# Import foreign packaging systems into Baserock -# -# Copyright (C) 2014 Codethink Limited -# -# 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; version 2 of the License. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License along -# with this program; if not, write to the Free Software Foundation, Inc., -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - - -import baserockimport - - -app = baserockimport.app.BaserockImportApplication(progname='import') -app.run() diff --git a/setup.py b/setup.py index 0127732..052c701 100644 --- a/setup.py +++ b/setup.py @@ -36,7 +36,7 @@ setup(name='baserockimport', author='Codethink Limited', author_email='baserock-dev@baserock.org', url='http://www.baserock.org', - scripts=['baserock-import.py'], + scripts=['baserock-import'], packages=['baserockimport'], package_data={ 'baserockimport': [ -- cgit v1.2.1