From 9385fbe1d380f1e02bb16326582b9f8e1d308b04 Mon Sep 17 00:00:00 2001 From: Alex Lancaster Date: Sun, 17 Nov 2024 21:10:19 -0500 Subject: [PATCH] mostly whitespace fixes --- setup.py | 2 -- src/PyPop/__init__.py | 36 +++++++++++++++++++++++++++++++++++- src/PyPop/citation.py | 1 - 3 files changed, 35 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index 1bd801d69..3097aff54 100644 --- a/setup.py +++ b/setup.py @@ -65,7 +65,6 @@ def run(self): os.unlink(ext_file) clean.clean.run(self) - # look for libraries in _PREFIX library_dirs = [os.path.join(_PREFIX, "lib")] include_dirs = [os.path.join(_PREFIX, "include")] @@ -299,5 +298,4 @@ def run(self): # enable the custom build 'build_py': CustomBuildPy, }, - ) diff --git a/src/PyPop/__init__.py b/src/PyPop/__init__.py index 49313f83d..937c70c96 100644 --- a/src/PyPop/__init__.py +++ b/src/PyPop/__init__.py @@ -1,3 +1,38 @@ +#!/usr/bin/env python + +# This file is part of PyPop + +# Copyright (C) 2017. +# All Rights Reserved. + +# 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, 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., 59 Temple Place - Suite 330, Boston, MA +# 02111-1307, USA. + +# IN NO EVENT SHALL REGENTS BE LIABLE TO ANY PARTY FOR DIRECT, +# INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING +# LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS +# DOCUMENTATION, EVEN IF REGENTS HAS BEEN ADVISED OF THE POSSIBILITY +# OF SUCH DAMAGE. + +# REGENTS SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT +# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS +# FOR A PARTICULAR PURPOSE. THE SOFTWARE AND ACCOMPANYING +# DOCUMENTATION, IF ANY, PROVIDED HEREUNDER IS PROVIDED "AS +# IS". REGENTS HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, +# UPDATES, ENHANCEMENTS, OR MODIFICATIONS. + import platform __pkgname__ = 'pypop-genomics' @@ -21,7 +56,6 @@ platform_info="[Python {python_version} | {system} | {arch}]".format(python_version=platform.python_version(), system=platform.platform(), arch=platform.machine()) - import locale import logging import platform diff --git a/src/PyPop/citation.py b/src/PyPop/citation.py index 7ee8bc58e..7d0cadc08 100644 --- a/src/PyPop/citation.py +++ b/src/PyPop/citation.py @@ -70,4 +70,3 @@ def convert_citation_formats(build_lib, citation_path): if __name__ == "__main__": convert_citation_formats("src", "CITATION.cff") -