Skip to content

Commit

Permalink
updated setup, CI file, manifest and develop requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksMat committed Jan 23, 2019
1 parent 3e8cb6e commit b5d6203
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 25 deletions.
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
dist: xenial
language: python

notifications:
email: false
dist: xenial

python:
- "3.5"
- "3.6"
- "3.7"

before_install:
- sudo add-apt-repository -y ppa:jonathonf/backports
- sudo apt-get -qq update
- sudo apt-get install -y libgdal-dev

install:
- pip install -r requirements-dev.txt
- pip install -r requirements-dev.txt --upgrade
- python install_all.py

script:
- pylint core/eolearn/core/*.py
- pylint coregistration/eolearn/coregistration/*.py
Expand Down
3 changes: 3 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
include requirements*.txt

include README.md
include LICENSE
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pytest>=3.0.0
pytest>=4.0.0
pytest-cov
pylint
radon
Expand Down
73 changes: 51 additions & 22 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,54 @@ def get_long_description():
return long_description


setup(name='eo-learn',
python_requires='>=3.5',
version='0.4.1',
description='Earth observation processing framework for machine learning in Python',
long_description=get_long_description(),
long_description_content_type='text/markdown',
url='https://github.com/sentinel-hub/eo-learn',
author='Sinergise EO research team',
author_email='[email protected]',
license='MIT',
packages=[],
include_package_data=True,
install_requires=[
'eo-learn-core>=0.4.1',
'eo-learn-coregistration>=0.4.0',
'eo-learn-features>=0.4.1',
'eo-learn-geometry>=0.4.0',
'eo-learn-io>=0.4.1',
'eo-learn-mask>=0.4.1',
'eo-learn-ml-tools>=0.4.1'
],
zip_safe=False)
def parse_requirements(file):
return sorted(set(
line.partition('#')[0].strip()
for line in open(os.path.join(os.path.dirname(__file__), file))
) - set(''))


setup(
name='eo-learn',
python_requires='>=3.5',
version='0.4.1',
description='Earth observation processing framework for machine learning in Python',
long_description=get_long_description(),
long_description_content_type='text/markdown',
url='https://github.com/sentinel-hub/eo-learn',
author='Sinergise EO research team',
author_email='[email protected]',
license='MIT',
packages=[],
include_package_data=True,
install_requires=[
'eo-learn-core>=0.4.1',
'eo-learn-coregistration>=0.4.0',
'eo-learn-features>=0.4.1',
'eo-learn-geometry>=0.4.0',
'eo-learn-io>=0.4.1',
'eo-learn-mask>=0.4.1',
'eo-learn-ml-tools>=0.4.1'
],
extras_require={
'DEV': parse_requirements('requirements-dev.txt'),
'DOCS': parse_requirements('requirements-docs.txt')
},
zip_safe=False,
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Education',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: MacOS',
'Operating System :: Microsoft :: Windows',
'Operating System :: Unix',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering',
]
)

0 comments on commit b5d6203

Please sign in to comment.