Skip to content

Commit

Permalink
Prepare for release 1.0.0 (#14)
Browse files Browse the repository at this point in the history
Update all the version identifiers to 1.0.0. Also update Travis so that
it deploys to PyPI whenever there are tags pushed to master.
  • Loading branch information
EmilMaric authored Sep 3, 2020
1 parent 633b7c2 commit 0908988
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,15 @@ script:
- flake8
after_success:
- codecov
before_deploy:
- poetry build
deploy:
skip_cleanup: true
provider: pypi
username: __token__
password:
secure: V+VIA2mXvD+OI/eDfIzVfWrsMfSyQngaxVheki7NW65lHB/YG0AyvHdFy0uACeK+T+fG/LU9fucQd+kNKPnxlZup9Vnr/odVp9oirHJQGf07rjE9/zk0lCJ2uxvp4jyaDWVfZIVtCLQAF9EdlI7g9/ejzZT6vR2iYOMOtt4YEKwLKbFtu3nkID+2CQR6QSykzCyVNiv91bJEcWx2gAmzvmJehJPSuRQr6vBTqiluG65wDrBKjuhrKGCCEY9RmtuWMod4KRJu5XqsHdLwfAn+I7TijoykintiAepyhSbsA06bHmA22r+5/PZ+0zPlZotR43NhWhKuumXcI5M55kPpmdUIk/kLDXnGFKTmYXbgtvggfn400dUy9LDTV0PS4BKx1DtlmD90FDXM1209h8bbmRsPHxwGcu0+02B5qPd6+AXL41XQNa3u7G57v/uYhH6/y5n2VZQOKd7BCgiw1W3QKpTzFd7DVubjo3/vdldH9DAYv3HJkjhVol0muUotKe1wkrH/kaFZ/g8MG2kxRxvg1ANfUdRRAcqMdtEOU0gLdSwaLNJ28zuUjZ2Wrjag33YBNDlOHLkY2xgOsb8unuXreGZr6T5LglRssC8/PDpTb3cWVNrj/NyDr+mVI2KPX8HyLJu3NHDv34lRqe+QQBqTMYAwxDCOeDnGROYikfzOaIw=
skip_existing: true
on:
branch: master
tags: true
2 changes: 1 addition & 1 deletion capgains/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.1.0'
__version__ = '1.0.0'
22 changes: 20 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,32 @@
# Store the file as 'cad-capgains' on PyPi, but have the CLI command be named
# 'capgains'
name = "cad-capgains"
version = "0.1.0"
version = "1.0.0"
description = "A CLI tool to calculate your capital gains"
license = "MIT"
readme = "README.md"
authors = ["Emil Maric"]
authors = [
"Eddy Maric",
"Emil Maric"
]
packages = [
{ include = "capgains" },
]
homepage = "https://github.com/EmilMaric/cad-capital-gains"
repository = "https://github.com/EmilMaric/cad-capital-gains"
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"Operating System :: OS Independent",
"Topic :: Office/Business :: Financial :: Accounting",
]
keywords = [
'capital',
'gains',
'canadian',
'tax'
]

[tool.poetry.dependencies]
python = "^3.5"
Expand Down
2 changes: 1 addition & 1 deletion tests/test_capgains.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@


def test_version():
assert __version__ == '0.1.0'
assert __version__ == '1.0.0'


def test_show_file_not_found(testfiles_dir):
Expand Down

0 comments on commit 0908988

Please sign in to comment.