Open LarsSchaaf opened 3 years ago
Sounds like a good idea. Let's get some feedback from some python wizards, @jameskermode @noambernstein @stenczelt
I have no objection, sounds like it would work well.
Sounds great, let's do it! Tell me if you need help!
I would rather not encourage from testingframework.utilities import *
but make sure you import what is needed and used, so that we have a sense of where functions are coming from even without smart editors that trace it.
Are you sure using an exec is the best way of handling versions in your setup.py
:
version = {}
with open("version.py") as fp:
exec(fp.read(), version)
perhaps versioneer
or for a time manual versioning would be nicer.
Thanks for the comments!! I had a quick look into the versioner
- and it looks really cool. Didn't know that existed - cheers Tamas. If you would like to include it that'd be great!
I was wondering if we could add a
setup.py
and change the file strucutre to allow for thetesting-framework
functions to be imported.Benefits:
import utils *
, one could importtestingframeowrk.utils
, allowing for better editor support and more varied folder structure.To Do:
testingframework
, such that it could be imported asfrom testingframework.utilities import *
, note that testing-framework would not be valid subdirectory name.setup.py
file, something like below.Potential setup.py
Questions