-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from observingClouds/ci
continuous integration
- Loading branch information
Showing
11 changed files
with
48 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,4 @@ Contributors | |
------------ | ||
|
||
* Hauke Schulz <[email protected]> | ||
* Aaron Spring <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,4 @@ | |
__email__ = "[email protected]" | ||
__version__ = "0.0.1" | ||
|
||
from .bitinformation_pipeline import * | ||
from .bitinformation_pipeline import get_bitinformation, get_keepbits |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ dependencies: | |
- pip | ||
- pip: | ||
- git+https://github.com/observingClouds/numcodecs@bitround | ||
- -e . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import Pkg | ||
Pkg.add("PyCall") | ||
Pkg.add("BitInformation") | ||
Pkg.add("StatsBase") | ||
Pkg.status() |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,40 +2,60 @@ | |
|
||
"""The setup script.""" | ||
|
||
import os | ||
|
||
from setuptools import find_packages, setup | ||
from setuptools.command.develop import develop | ||
from setuptools.command.install import install | ||
|
||
julia_install_command = "julia install_julia_packages.jl" | ||
|
||
|
||
class PostDevelopCommand(develop): | ||
"""Post-installation for development mode.""" | ||
|
||
def run(self): | ||
develop.run(self) | ||
os.system(julia_install_command) | ||
|
||
|
||
class PostInstallCommand(install): | ||
"""Post-installation for installation mode.""" | ||
|
||
def run(self): | ||
install.run(self) | ||
os.system(julia_install_command) | ||
|
||
|
||
with open("README.md") as readme_file: | ||
readme = readme_file.read() | ||
|
||
with open("HISTORY.rst") as history_file: | ||
history = history_file.read() | ||
|
||
requirements = [] | ||
requirements = ["xarray", "julia"] | ||
|
||
test_requirements = [ | ||
"pytest>=3", | ||
] | ||
test_requirements = ["pytest", "pooch", "netcdf4"] | ||
|
||
setup( | ||
author="Hauke Schulz", | ||
author_email="[email protected]", | ||
python_requires=">=3.6", | ||
python_requires=">=3.8", | ||
classifiers=[ | ||
"Development Status :: 2 - Pre-Alpha", | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Natural Language :: English", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
"Programming Language :: Python :: 3.9", | ||
"Programming Language :: Python :: 3.10", | ||
], | ||
description="Retrieve information content and compress accordingly.", | ||
entry_points={ | ||
"console_scripts": [ | ||
"bitinformation_pipeline=bitinformation_pipeline.cli:main", | ||
], | ||
cmdclass={ | ||
"develop": PostDevelopCommand, | ||
"install": PostInstallCommand, | ||
}, | ||
description="Retrieve information content and compress accordingly.", | ||
install_requires=requirements, | ||
license="MIT license", | ||
long_description=readme + "\n\n" + history, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters