Skip to content

Commit

Permalink
packaging: add setup.py
Browse files Browse the repository at this point in the history
This can be installed by using `pip install -e .`
  • Loading branch information
kmichel-aiven authored and rdunklau committed Apr 27, 2022
1 parent b419290 commit c3068dc
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions rohmu/version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VERSION = "1.0.0"
11 changes: 11 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[metadata]
name = rohmu
version = attr: rohmu.version.VERSION
[options]
package_dir =
=.
packages = find:
install_requires =
[options.packages.find]
where = .
include = rohmu
8 changes: 8 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env python3

# This file enables editable installs with `pip install --editable .`
# https://setuptools.readthedocs.io/en/latest/setuptools.html#setup-cfg-only-projects

import setuptools

setuptools.setup()

0 comments on commit c3068dc

Please sign in to comment.