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

Update deps and move to poetry #43

Merged
merged 3 commits into from
Mar 5, 2024
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Install Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
python-version-file: pyproject.toml
- name: Install dependencies
run: pip install .
- name: Run tests
Expand Down
8 changes: 2 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
test:
pytest
poetry run pytest

check: test

deps:
pip install -e .
poetry install

clean:
rm -rf build
Expand All @@ -14,7 +14,3 @@ clean:
rm -rf dist
rm -rf tests/.ipynb_checkpoints
rm -rf notebooks/.ipynb_checkpoints


develop: deps
python setup.py develop
2 changes: 1 addition & 1 deletion asekuro/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.4.0"
__version__ = "0.5.0"
File renamed without changes.
35 changes: 35 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[tool.poetry]
name = "asekuro"
version = "0.5.0"
description = "CLI util to deal with Jupyter Notebooks"
authors = ["Vincent D. Warmerdam", "Xebia Data"]
readme = "README.md"
license= "MIT License"
packages = [{include = "asekuro"}]
classifiers=['Topic :: Software Development :: Build Tools',
'Topic :: Utilities',
'Framework :: Jupyter',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'Programming Language :: Python :: 3.6',
'Development Status :: 3 - Alpha',
'License :: OSI Approved :: MIT License']

[tool.poetry.urls]
source = "https://github.com/godatadriven/asekuro"

[tool.poetry.scripts]
asekuro = "asekuro.cli:main"

[tool.poetry.dependencies]
python = "^3.10"
pytest = "^8.0.2"
nbval = "^0.11.0"
nbformat = "^5.9.2"
nbconvert = "^7.16.2"
click = "^8.1.7"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
Loading