Skip to content

Commit

Permalink
edits for packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
zbilodea committed Oct 19, 2023
1 parent 40315b5 commit 246c29e
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 16 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ ipython_config.py
# pyenv
# For a library or package, you might want to ignore these files since the code is
# intended to run in multiple environments; otherwise, check them in:
# .python-version
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
Expand Down Expand Up @@ -137,8 +137,8 @@ dmypy.json
# Cython debug symbols
cython_debug/

# setuptools_scm
src/*/_version.py
# # setuptools_scm
# src/*/_version.py


# ruff
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
[rtd-badge]: https://readthedocs.org/projects/odapt/badge/?version=latest
[rtd-link]: https://odapt.readthedocs.io/en/latest/?badge=latest

IN BETA

The odapt library is a bridge between columnar file formats **ROOT, Parquet, Feather, and HDF5.** It aims to simplify file conversions in Python, replacing what is usually a multi-step process with one line of code, with builtin features for managing large datasets and choosing compression levels.

# Getting started
Expand Down
13 changes: 4 additions & 9 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ classifiers = [
"Typing :: Typed",
]
dynamic = ["version"]
dependencies = ["numpy>=1.18.0", "uproot>=5.0.0"]
dependencies = ["numpy>=1.26.1", "uproot>=5.0.0"]

[project.optional-dependencies]
test = [
Expand All @@ -55,13 +55,8 @@ Discussions = "https://github.com/zbilodea/odapt/discussions"
Changelog = "https://github.com/zbilodea/odapt/releases"


[tool.hatch]
version.source = "vcs"
build.hooks.vcs.version-file = "src/odapt/_version.py"
envs.default.dependencies = [
"pytest",
"pytest-cov",
]
[tool.hatch.version]
path = "src/odapt/version.py"


[tool.pytest.ini_options]
Expand Down Expand Up @@ -162,4 +157,4 @@ messages_control.disable = [
]

[project.scripts]
odapt = "odapt.src.operations.hadd:main"
hadd = "odapt.src.operations.hadd:main"
4 changes: 0 additions & 4 deletions src/odapt/_version.pyi

This file was deleted.

7 changes: 7 additions & 0 deletions src/odapt/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import re

__version__ = "1.0.1"
version = __version__
version_info = tuple(re.split(r"[-\.]", __version__))

del re

0 comments on commit 246c29e

Please sign in to comment.