[nano-assault] 09/18: setup.py must be gone before dh_auto_clean.

Dominik George natureshadow-guest at moszumanska.debian.org
Mon Apr 24 16:49:57 UTC 2017


This is an automated email from the git hooks/post-receive script.

natureshadow-guest pushed a commit to branch master
in repository nano-assault.

commit 9f76f6379f9e3da48bac7eb451eb9d6c9bc95685
Author: Dominik George <nik at naturalnet.de>
Date:   Mon Apr 24 18:22:53 2017 +0200

    setup.py must be gone before dh_auto_clean.
---
 debian/clean |  1 -
 debian/rules |  4 ++++
 setup.py     | 55 -------------------------------------------------------
 3 files changed, 4 insertions(+), 56 deletions(-)

diff --git a/debian/clean b/debian/clean
deleted file mode 100644
index 659ddbf..0000000
--- a/debian/clean
+++ /dev/null
@@ -1 +0,0 @@
-setup.py
diff --git a/debian/rules b/debian/rules
index 25115de..dc02660 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,3 +2,7 @@
 
 %:
 	dh $@ --with python3
+
+override_dh_auto_clean:
+	rm -f setup.py
+	dh_auto_clean
diff --git a/setup.py b/setup.py
deleted file mode 100755
index 03858cc..0000000
--- a/setup.py
+++ /dev/null
@@ -1,55 +0,0 @@
-#!/usr/bin/env python
-# ~*~ coding: utf-8 ~*~
-
-# (C) 2017, Eike Jesinghaus
-# 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 3 of the License, or
-# (at your option) any later version.
-
-# 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, see <http://www.gnu.org/licenses/>.
-
-import os
-
-from setuptools import setup
-
-try:
-    from bdist_nsi import bdist_nsi
-except:
-    pass
-
-setup(
-    name='Nano-Assault',
-    version='1.0',
-    url="https://edugit.org/eike/nanoassault",
-    author="Eike Jesinghaus",
-    author_email="eike at naturalnet.de",
-    packages=['nanoassault'],
-    package_data={
-                  'nanoassault': ["img/*.png", "sound/*.wav"],
-                 },
-    zip_safe=False,
-    install_requires=[
-                      'Pygame',
-                     ],
-    entry_points={
-                  'gui_scripts': [
-                                  'nanoassault = nanoassault:main',
-                                 ],
-                 },
-    classifiers=[
-                 "Development Status :: 6 - Mature",
-                 "License :: OSI Approved :: GNU General Public License (GPL)",
-                 "Natural Language :: English",
-                 "Operating System :: OS Independent",
-                 "Programming Language :: Python",
-                 "Topic :: Games/Entertainment :: Arcade"
-                ],
-    options={"bdist_nsi": {}}
-)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/nano-assault.git



More information about the Pkg-games-commits mailing list