Commit efa18823 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Cleaned up and added some comments.


Signed-off-by: Daniel Scheffler's avatarDaniel Scheffler <danschef@gfz-potsdam.de>
parent 59ea2cf8
Pipeline #4577 passed with stages
in 1 minute and 2 seconds
......@@ -22,5 +22,5 @@
# with this program. If not, see <http://www.gnu.org/licenses/>.
__version__ = '0.2.5'
__versionalias__ = '20190822.07'
__version__ = '0.2.6'
__versionalias__ = '20190822.08'
......@@ -26,8 +26,6 @@
"""The setup script."""
from setuptools import setup, find_packages
from glob import glob
import os
with open('README.rst') as readme_file:
readme = readme_file.read()
......@@ -41,11 +39,10 @@ with open("pyrsr/version.py") as version_file:
requirements = ['numpy', 'pandas', 'matplotlib', 'scipy']
setup_requirements = ['setuptools-git']
setup_requirements = ['setuptools-git'] # needed for package_data version controlled by GIT
test_requirements = ['coverage', 'nose', 'nose-htmloutput', 'rednose']
# data_files = [i for i in sorted(glob(os.path.join('pyrsr', 'data', '**'), recursive=True)) if os.path.isfile(i)]
setup(
author="Daniel Scheffler",
......@@ -70,10 +67,9 @@ setup(
long_description=readme + '\n\n' + history,
package_dir={'pyrsr': 'pyrsr'},
include_package_data=True,
# NOTE: if the 'package_data' files are not under CVS or Subversion version control, we need setuptools-git here,
# otherwise they are not included in the PyPi upload content
package_data={"pyrsr": ["data/**/**/*"]},
# package_data={"pyrsr": data_files},
# data_files=[('', data_files)],
# data_files=data_files,
keywords=['pyrsr', 'relative spectral response', 'remote sensing', 'sensors'],
name='pyrsr',
packages=find_packages(exclude=['tests*']),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment