Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch to pyproject.yaml with Poetry #55

Merged
merged 1 commit into from
Jan 4, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 11 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,23 @@ python:
- '2.7'
- '3.6'
cache: pip
env:
global:
- secure: "xo+tYIDzOutpcE0kYTBTWrWDIpAQ/achm3qPlRouDy+NycP6MXmQTwqtKulUywZ7HJdIFoyHhDWZWDmIGzwPUNyWnP73VMLrHk0Z9ROCpAIVcsHQNt25W7Y0jAtvMcGkIXEOELK6/p8pdiV+lcjzo//kGG0JMkZj7FkToWxKBNhm0Xm9PUeJkBmmsp8j5ddY0Nl9388OgEhCcI9LsyzRN68PZTm7i+PhMZSy5lOLr9g08EB76L6IJgbQJaGklS4FBoW5feCLosr57ZTgxaTX1RLH1kt//Yjcc/cS0tw8+n0o/9PXTP9yINaucmWBZEdA29ifXamk+qX4N+p1hR94vzb8E84Gv9Kk30f7nwR7KwKuF8bbkpX/wYIqsBbve7AFJxYdVRMPS0Gfw4Uy0i6+rF4/KRwE6EvGOBnhl5xaUndsd5nzPEqchhSon/w04LChagzx5svWKQ10ArpzC0JMZ8VtYIYuvoxCA17kC3reYWVR6yvcou44dpplbKC7Z1/Xn+peXY5a2THylE7RFPKRQAKQLVtoZZiU23PgVSQ/y29FWKH2JB21GfXyngOzo1Ot/jEhQzv1x+9wXs78Pu/NO0nYtFj10K37Mc6rwoG30XIPeRCaok3DbLp81ILqYIKTdXmWMuXQ4IunBtwk6Ab5jdz0SRCLt9Y5B8CfRr7kg1U="
before_install:
- pip install poetry codecov
install:
- pip install .
- pip install coverage codecov
- poetry install
script:
- tests/test_cli.sh
- nosetests -c .noserc
- poetry run nosetests -c .noserc
- poetry run pytest -v ./tests
after_success:
- codecov
deploy:
provider: pypi
user: nolze
password:
secure: xo+tYIDzOutpcE0kYTBTWrWDIpAQ/achm3qPlRouDy+NycP6MXmQTwqtKulUywZ7HJdIFoyHhDWZWDmIGzwPUNyWnP73VMLrHk0Z9ROCpAIVcsHQNt25W7Y0jAtvMcGkIXEOELK6/p8pdiV+lcjzo//kGG0JMkZj7FkToWxKBNhm0Xm9PUeJkBmmsp8j5ddY0Nl9388OgEhCcI9LsyzRN68PZTm7i+PhMZSy5lOLr9g08EB76L6IJgbQJaGklS4FBoW5feCLosr57ZTgxaTX1RLH1kt//Yjcc/cS0tw8+n0o/9PXTP9yINaucmWBZEdA29ifXamk+qX4N+p1hR94vzb8E84Gv9Kk30f7nwR7KwKuF8bbkpX/wYIqsBbve7AFJxYdVRMPS0Gfw4Uy0i6+rF4/KRwE6EvGOBnhl5xaUndsd5nzPEqchhSon/w04LChagzx5svWKQ10ArpzC0JMZ8VtYIYuvoxCA17kC3reYWVR6yvcou44dpplbKC7Z1/Xn+peXY5a2THylE7RFPKRQAKQLVtoZZiU23PgVSQ/y29FWKH2JB21GfXyngOzo1Ot/jEhQzv1x+9wXs78Pu/NO0nYtFj10K37Mc6rwoG30XIPeRCaok3DbLp81ILqYIKTdXmWMuXQ4IunBtwk6Ab5jdz0SRCLt9Y5B8CfRr7kg1U=
provider: script
script: poetry publish --username nolze --password $PYPI_PASS --build
on:
tags: true
branch: master
python: '3.6'
allow_failure: false
9 changes: 0 additions & 9 deletions MANIFEST.in

This file was deleted.

4 changes: 2 additions & 2 deletions msoffcrypto/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import olefile
import zipfile
import pkg_resources


__version__ = "4.11.0"
__version__ = pkg_resources.get_distribution('msoffcrypto-tool').version


def OfficeFile(file):
Expand Down
Loading