Obs2Org is a cross platform command (works on *BSD, Linux, OS X and Windows) line program to convert Obsidian style Markdown files to Org-Mode files for Emacs and other Editors that support Org-Mode.
at main 26 lines 813 B view raw
1#!/bin/sh 2# SPDX-License-Identifier: GPL-3.0-or-later 3# Copyright (C) 2021 Roland Csaszar 4# 5# Project: Obs2Org 6# File: make_package.sh 7# 8################################################################################ 9 10# generates a Python PIP package in the current working directory and uploads 11# it to Pypi. 12# Uses pipenv, you can install that by `python -m pip install pipenv` and 13# installing the needed packages from the Obs2Org root dir `Obs2Org` - where 14# the `Pipfile` is located. 15# `pipenv install --dev` installs all needed dependencies to develop. 16 17 18rm -rf -- ./build 19rm -rf -- ./dist 20rm -rf -- ./obs2org.egg-info 21 22pipenv run python -m build 23 24# pipenv run twine upload --repository testpypi dist/* --config-file ~/.pypirc 25 26pipenv run twine upload --repository pypi dist/* --config-file ~/.pypirc