From 1fcfef2016db93491e5ece51c6b738f571536fbe Mon Sep 17 00:00:00 2001 From: Andrew Gait Date: Wed, 9 Aug 2023 11:39:28 +0100 Subject: [PATCH] Not sure where these two files came from --- __init__.py | 0 setup.py | 84 ----------------------------------------------------- 2 files changed, 84 deletions(-) delete mode 100644 __init__.py delete mode 100644 setup.py diff --git a/__init__.py b/__init__.py deleted file mode 100644 index e69de29b..00000000 diff --git a/setup.py b/setup.py deleted file mode 100644 index 5daf02c2..00000000 --- a/setup.py +++ /dev/null @@ -1,84 +0,0 @@ -# Copyright (c) 2017-2019 The University of Manchester -# -# 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 . - -try: - from setuptools import setup -except ImportError: - from distutils.core import setup -try: - from collections.abc import defaultdict -except ImportError: - from collections import defaultdict -import os - -__version__ = '1.0.27' - -# Build a list of all project modules, as well as supplementary files -main_package = "PyNN8Examples" -extensions = {".aplx", ".boot", ".cfg", ".json", ".sql", ".template", ".xml", - ".xsd"} -main_package_dir = os.path.join(os.path.dirname(__file__), main_package) -start = len(main_package_dir) -packages = [] -package_data = defaultdict(list) -for dirname, dirnames, filenames in os.walk(main_package_dir): - if '__init__.py' in filenames: - package = "{}{}".format( - main_package, dirname[start:].replace(os.sep, '.')) - packages.append(package) - for filename in filenames: - _, ext = os.path.splitext(filename) - if ext in extensions: - package = "{}{}".format( - main_package, dirname[start:].replace(os.sep, '.')) - package_data[package].append(filename) - -setup( - name="SpiNNaker_PyNN8Examples", - version=__version__, - description="Partition and Configuration Manager", - url="https://github.com/SpiNNakerManchester/PyNN8Examples", - license="GNU GPLv3.0", - classifiers=[ - "Development Status :: 3 - Alpha", - - "Intended Audience :: Developers", - "Intended Audience :: Science/Research", - - "License :: OSI Approved :: GNU General Public License v2 (GPLv2)", - - "Natural Language :: English", - - "Operating System :: POSIX :: Linux", - "Operating System :: Microsoft :: Windows", - "Operating System :: MacOS", - - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - ], - packages=packages, - package_data=package_data, - install_requires=[ - 'SpiNNUtilities >= 1!5.0.1, < 1!6.0.0', - 'SpiNNMachine >= 1!5.0.1, < 1!6.0.0', - 'six', - 'enum34', - 'future', - 'numpy'], - maintainer="SpiNNakerTeam", - maintainer_email="spinnakerusers@googlegroups.com" -)