-
Notifications
You must be signed in to change notification settings - Fork 34
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 #9 from capitalone/cicd
versioning and publishing workflow
- Loading branch information
Showing
6 changed files
with
58 additions
and
65 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,27 @@ | ||
name: Publish 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.8' | ||
- 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 }} | ||
TWINE_REPOSITORY: pypi | ||
run: | | ||
python setup.py sdist bdist_wheel | ||
twine upload dist/* |
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
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 |
---|---|---|
|
@@ -9,7 +9,8 @@ | |
Rubicon, | ||
) | ||
|
||
__version__ = "4.5.0" | ||
__version__ = "0.1.0" | ||
|
||
__all__ = [ | ||
"Artifact", | ||
"Dataframe", | ||
|
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 |
---|---|---|
@@ -1,7 +1,5 @@ | ||
from setuptools import find_packages, setup | ||
|
||
from version import get_version | ||
|
||
install_requires = [ | ||
"click>=7.1", | ||
"dask[dataframe]>=2.12.0", | ||
|
@@ -25,9 +23,9 @@ | |
|
||
setup( | ||
name="rubicon", | ||
version=get_version(), | ||
author="The Rubicon Team", | ||
author_email="[email protected]", | ||
version="0.1.0", | ||
author="Joe Wolfe, Ryan Soley, Diane Lee, Mike McCarty, CapitalOne", | ||
license='Apache License, Version 2.0', | ||
description="an ML library for model development and governance", | ||
packages=find_packages(), | ||
include_package_data=True, | ||
|
@@ -41,4 +39,27 @@ | |
"rubicon_experiment = rubicon.intake_rubicon.experiment:ExperimentSource", | ||
], | ||
}, | ||
classifiers=[ | ||
# How mature is this project? Common values are | ||
# 3 - Alpha | ||
# 4 - Beta | ||
# 5 - Production/Stable | ||
'Development Status :: 4 - Beta', | ||
|
||
# Indicate who your project is intended for | ||
'Intended Audience :: Developers', | ||
'Intended Audience :: Science/Research', | ||
|
||
'Topic :: Scientific/Engineering', | ||
'Topic :: Scientific/Engineering :: Information Analysis', | ||
'Topic :: Software Development :: Build Tools', | ||
'Topic :: Software Development :: Documentation', | ||
|
||
# Pick your license as you wish (should match "license" above) | ||
'License :: OSI Approved :: Apache Software License', | ||
|
||
# Specify the Python versions you support here. In particular, ensure | ||
# that you indicate whether you support Python 3 or both. | ||
'Programming Language :: Python :: 3', | ||
], | ||
) |
This file was deleted.
Oops, something went wrong.