From 6d25d1c05924ff9f4b20af20693117313f88f293 Mon Sep 17 00:00:00 2001 From: Taylor Salo Date: Mon, 15 Mar 2021 14:55:09 -0400 Subject: [PATCH] [FIX] Minor changes to packaging files (#37) * Add license to info.py * Fix black exclusion files. * Create MANIFEST.in * Add copyright info to main mapca file. --- MANIFEST.in | 1 + mapca/info.py | 2 +- mapca/mapca.py | 19 ++++++++++++++++++- pyproject.toml | 6 +++--- 4 files changed, 23 insertions(+), 5 deletions(-) create mode 100644 MANIFEST.in diff --git a/MANIFEST.in b/MANIFEST.in new file mode 100644 index 0000000..a24694f --- /dev/null +++ b/MANIFEST.in @@ -0,0 +1 @@ +include versioneer.py diff --git a/mapca/info.py b/mapca/info.py index da640bd..2ec1844 100644 --- a/mapca/info.py +++ b/mapca/info.py @@ -41,7 +41,7 @@ AUTHOR = "mapca developers" COPYRIGHT = "Copyright 2020, mapca developers" CREDITS = author_names -LICENSE = "" +LICENSE = "GPL" MAINTAINER = "Eneko Urunuela" EMAIL = "e.urunuela@bcbl.eu" STATUS = "Prototype" diff --git a/mapca/mapca.py b/mapca/mapca.py index d607591..6b92afc 100644 --- a/mapca/mapca.py +++ b/mapca/mapca.py @@ -1,4 +1,21 @@ -"""PCA based on Moving Average (stationary Gaussian) process +"""PCA based on Moving Average (stationary Gaussian) process. + +MAPCA: Moving Average Principal Components Analysis +Copyright (C) 2003-2009 GIFT developers + +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 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, write to the Free Software Foundation, Inc., +51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. """ import logging diff --git a/pyproject.toml b/pyproject.toml index d884e2c..7db9c4d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,8 +19,8 @@ exclude = ''' )/ | get_version.py | versioneer.py - | nimare/info.py - | nimare/_version.py - | nimare/due.py + | mapca/info.py + | mapca/_version.py + | mapca/due.py ) ''' \ No newline at end of file