Skip to content

Commit

Permalink
Merge branch 'release/0.2.3'
Browse files Browse the repository at this point in the history
  • Loading branch information
erikjandevries committed Oct 18, 2020
2 parents 9e7d8bd + 228af03 commit 20e8a55
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 6 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# This workflows will upload a Python Package using Twine when a release is created
# For more information see: https://help.github.com/en/actions/language-and-framework-guides/using-python-with-github-actions#publishing-to-package-registries

name: Upload Python Package

on:
release:
types: [created]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/*
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# MyAutoML

[![Documentation Status](https://readthedocs.org/projects/myautoml/badge/?version=latest)](https://myautoml.readthedocs.io/en/latest/?badge=latest)
[![Latest Python Release](https://img.shields.io/pypi/v/myautoml.svg)](https://pypi.org/project/myautoml/)
[![Downloads](https://pepy.tech/badge/myautoml)](https://pepy.tech/project/myautoml)

MyAutoML is a project that aims to help data scientists become more efficient, by providing:

- Cookiecutter templates
Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,9 +36,14 @@
url=about["__uri__"],

author=about["__author__"],
author_email=about["__email__"],

project_urls={
'Documentation': 'https://myautoml.readthedocs.io',
"Source Code": "https://github.com/myautoml/myautoml",
},

classifiers=[
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
# "License :: None :: To be determined",
"Operating System :: OS Independent",
Expand Down
5 changes: 2 additions & 3 deletions src/myautoml/__about__.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
__all__ = [
"__title__", "__summary__", "__uri__", "__version__", "__author__", "__email__", "__license__", "__copyright__",
"__title__", "__summary__", "__uri__", "__version__", "__author__", "__license__", "__copyright__",
]

__title__ = "myautoml"
__summary__ = "myautoml is a package which provides a framework to automate machine learning"
__uri__ = "https://github.com/myautoml/myautoml"

__version__ = "0.2.2"
__version__ = "0.2.3"

__author__ = "Erik Jan de Vries"
__email__ = "erikjandevries@users.noreply.github.com"

__license__ = ""
__copyright__ = "Copyright 2015-2020 {}".format(__author__)
4 changes: 2 additions & 2 deletions src/myautoml/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from .__about__ import (
__title__, __summary__, __uri__, __version__, __author__, __email__, __license__, __copyright__,
__title__, __summary__, __uri__, __version__, __author__, __license__, __copyright__,
)

__all__ = [
"__title__", "__summary__", "__uri__", "__version__", "__author__", "__email__", "__license__", "__copyright__",
"__title__", "__summary__", "__uri__", "__version__", "__author__", "__license__", "__copyright__",
]

0 comments on commit 20e8a55

Please sign in to comment.