Skip to content

Commit 80396af

Browse files
Dana SinghDana Singh
authored andcommitted
#203 go back to setup.py
1 parent e6ccadf commit 80396af

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

pyproject.toml

Lines changed: 0 additions & 14 deletions
This file was deleted.

setup.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# plugins must be properly installed, in-place PYTHONPATH meddling will not work.
2+
3+
from setuptools import setup
4+
5+
## Register plugin
6+
setup(
7+
name='hello-world',
8+
version='1.0',
9+
py_modules=['install_plugin'], #name of file
10+
entry_points={
11+
# group name: ["plugin_name = module:function"]
12+
'cylc.pre_configure': [
13+
'hw = install_plugin.hello_world:pre_configure'
14+
],
15+
}
16+
)
17+

0 commit comments

Comments
 (0)