Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
chore: add publishing setup
  • Loading branch information
subotic committed Mar 5, 2019
1 parent 84dc1d2 commit c18c6b9
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 9 deletions.
6 changes: 0 additions & 6 deletions .idea/vcs.xml

This file was deleted.

14 changes: 14 additions & 0 deletions README.md
Expand Up @@ -510,3 +510,17 @@ To generate a "requirements" file (usually requirements.txt), that you commit wi
$ pip3 freeze > requirements.txt
```

## Publishing

Generate distribution package. Make sure you have the latest versions of `setuptools` and `wheel` installed:

```bash
$ python3 -m pip install --user --upgrade setuptools wheel
$ python3 setup.py sdist bdist_wheel
```
Upload package with `twine`:

```bash
$ python3 -m pip install --user --upgrade twine
$ python3 -m twine dist/*
```
4 changes: 3 additions & 1 deletion knora/__init__.py
@@ -1 +1,3 @@
name = "knora"
from .knora import KnoraError
from .knora import knora
from .knora import BulkImport
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='knora',
version='0.0.1',
version='0.0.2',
description='A Python library and tools for the Knora-API',
url='https://github.com/dhlab-basel/knora-py',
author='Lukas Rosenthaler',
Expand All @@ -15,7 +15,7 @@
packages=setuptools.find_packages(),
classifiers=[
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GPLv3 License",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent",
],
)

0 comments on commit c18c6b9

Please sign in to comment.