Skip to content

Commit

Permalink
Package mex-model as a python distribution
Browse files Browse the repository at this point in the history
  • Loading branch information
cutoffthetop committed Nov 16, 2023
1 parent 59e8e73 commit 310761a
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
33 changes: 33 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,35 @@
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# Environments
*.env
.env

# MacOS
.DS_Store

# PyCharm
.idea/
.idea_modules/

# VisualStudioCode
.vscode/*
.history/
*.code-workspace
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ default_language_version:
files: schema
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: pretty-format-json
args: [--autofix, --no-sort-keys, --indent=4, --no-ensure-ascii]
Expand Down
11 changes: 11 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
from setuptools import setup

setup(
name="mex-model",
version="2.1.1",
author_email="[email protected]",
author="RKI MEx Team",
description="RKI MEx metadata model",
license="MIT",
package_dir={"mex.model": "schema"},
)

0 comments on commit 310761a

Please sign in to comment.