Added package configurations and Woodpecker CI pipeline
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Harrison Deng 2023-04-06 00:52:05 -05:00
parent 7ce680b112
commit 1e508eeace
4 changed files with 33 additions and 0 deletions

18
.woodpecker.yml Normal file
View File

@ -0,0 +1,18 @@
# .woodpecker.yml
pipeline:
install:
image: python
commands:
- pip install build
- pip install pytest
- pip install setuptools
- pip install twine
build:
image: python
commands:
- python -m build
publish:
image: python
commands:
- pip -m twine upload --repository-url https://git.reslate.systems -u ${CI_NETRC_USERNAME} -p ${CI_NETRC_PASSWORD} --non-interactive --disable-progress-bar --verbose dist/*

3
pyproject.toml Normal file
View File

@ -0,0 +1,3 @@
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools", "wheel"]

10
setup.cfg Normal file
View File

@ -0,0 +1,10 @@
[metadata]
name = renamebycsv
version = 0.0.1
[options]
packages = renamebycsv
[options.entry_points]
console_scripts =
renamebycsv = renamebycsv.renamebycsv:main

2
setup.py Normal file
View File

@ -0,0 +1,2 @@
from setuptools import setup
setup()