Skip to content

Conversation

@MoisMoshev
Copy link

@MoisMoshev MoisMoshev commented Mar 1, 2021

This change allows passing the config path into the daemon constructor, instead of obtaining it inside. It can also be passed as a command-line argument.
This permits more freedom in composing the config. Also, our own package can depend on it, by having a setup.py and being able to install it.

The function _getConfigPath is too magical, for custom setups it is
easiest and most explicit to allow passing the config path as an argument.

Add a setup.py to turn directory into package
@@ -0,0 +1,13 @@
from setuptools import setup, find_packages

setup(name='shotgunEvents',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Black would make changes.

@@ -0,0 +1,13 @@
from setuptools import setup, find_packages
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'setuptools.find_packages' imported but unused

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant