-
Notifications
You must be signed in to change notification settings - Fork 2
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 #7 from OpenEnergyPlatform/develop
Make v1.0.1 release
- Loading branch information
Showing
8 changed files
with
130 additions
and
664 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
os: linux | ||
dist: bionic | ||
language: python | ||
cache: pip | ||
jobs: | ||
include: | ||
- python: "3.6" | ||
env: | ||
- TOXENV=py36 | ||
- python: "3.7" | ||
env: | ||
- TOXENV=py37 | ||
before_install: | ||
- python --version | ||
- uname -a | ||
- lsb_release -a | ||
- sudo apt-get update | ||
install: | ||
- pip install -r requirements.txt | ||
- virtualenv --version | ||
- easy_install --version | ||
- pip --version | ||
- tox --version | ||
script: | ||
- tox -v | ||
after_failure: | ||
- more .tox/log/* | cat | ||
- more .tox/*/log/* | cat | ||
notifications: | ||
email: | ||
on_success: never | ||
on_failure: always |
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/usr/bin/env bash | ||
|
||
isort -rc ./metadata/ ./tests/ | ||
black *.py metadata/ tests/ |
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,3 +2,6 @@ black | |
isort | ||
jsonschema | ||
pytest | ||
tox | ||
twine | ||
wheel |
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,2 @@ | ||
[metadata] | ||
license_files = LICENSE |
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,29 @@ | ||
from os import path | ||
|
||
from setuptools import find_packages, setup | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
with open(path.join(here, "README.md"), encoding="utf-8") as f: | ||
long_description = f.read() | ||
|
||
setup( | ||
name="oep-metadata", | ||
version="1.0.1", | ||
description="Open Energy Platform (OEP) - metadata schemas, examples and templates package", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
url="https://github.com/OpenEnergyPlatform/metadata", | ||
author="Alexis Michaltsis", | ||
author_email="[email protected]", | ||
license="MIT", | ||
classifiers=[ | ||
"Intended Audience :: Developers", | ||
"License :: OSI Approved :: MIT License", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
], | ||
keywords="JSON metadata schema open energy platform oep", | ||
packages=find_packages(exclude=["tests"]), | ||
python_requires=">=3.6", | ||
) |
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,9 @@ | ||
[tox] | ||
envlist = {py36,py37} | ||
skipsdist = True | ||
|
||
[testenv] | ||
deps = -r {toxinidir}/requirements.txt | ||
commands = | ||
pytest | ||
black --check . |