From 03fde79c39bc9419d5e85eaa8cac6e1832f3d47d Mon Sep 17 00:00:00 2001 From: Israel Blancas Date: Sat, 4 Apr 2020 20:27:07 +0200 Subject: [PATCH] Crea infraestructura the paquetes de Python. Closes #13 --- src/core/setup.py | 30 ++++++++++++++++++++++++++++++ src/gui/__init__.py | 4 ---- src/gui/respyrator-gui/__init__.py | 15 +++++++++++++++ src/gui/setup.py | 30 ++++++++++++++++++++++++++++++ 4 files changed, 75 insertions(+), 4 deletions(-) create mode 100644 src/core/setup.py delete mode 100644 src/gui/__init__.py create mode 100644 src/gui/respyrator-gui/__init__.py create mode 100644 src/gui/setup.py diff --git a/src/core/setup.py b/src/core/setup.py new file mode 100644 index 0000000..d2ffdce --- /dev/null +++ b/src/core/setup.py @@ -0,0 +1,30 @@ +# Copyright (C) 2020 Respyrador +# This file is part of Respyrador . +# +# Respyrador 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. +# +# Respyrador 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 Respyrador. If not, see . + +import setuptools + +setuptools.setup( + name="respyrator-core", + version="0.0.1", + description="Respyrator core package", + url="https://respyrator.github.io/respirador/", + packages=setuptools.find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", + ], + python_requires=">=3.6", +) diff --git a/src/gui/__init__.py b/src/gui/__init__.py deleted file mode 100644 index cd5f3ec..0000000 --- a/src/gui/__init__.py +++ /dev/null @@ -1,4 +0,0 @@ -# Built-in -------------------------------------------------------------------- -# Installed ------------------------------------------------------------------- -# Coded ----------------------------------------------------------------------- -# Program --------------------------------------------------------------------- diff --git a/src/gui/respyrator-gui/__init__.py b/src/gui/respyrator-gui/__init__.py new file mode 100644 index 0000000..20761ae --- /dev/null +++ b/src/gui/respyrator-gui/__init__.py @@ -0,0 +1,15 @@ +# Copyright (C) 2020 Respyrador +# This file is part of Respyrador . +# +# Respyrador 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. +# +# Respyrador 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 Respyrador. If not, see . diff --git a/src/gui/setup.py b/src/gui/setup.py new file mode 100644 index 0000000..66be4ee --- /dev/null +++ b/src/gui/setup.py @@ -0,0 +1,30 @@ +# Copyright (C) 2020 Respyrador +# This file is part of Respyrador . +# +# Respyrador 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. +# +# Respyrador 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 Respyrador. If not, see . + +import setuptools + +setuptools.setup( + name="respyrator-gui", + version="0.0.1", + description="Respyrator graphical user interface", + url="https://respyrator.github.io/respirador/", + packages=setuptools.find_packages(), + classifiers=[ + "Programming Language :: Python :: 3", + "Operating System :: OS Independent", + ], + python_requires=">=3.6", +)