yardencsGitHub / tweetynet

Hybrid convolutional-recurrent neural networks for segmentation of birdsong and classification of elements
BSD 3-Clause "New" or "Revised" License
47 stars 9 forks source link

fix packaging #177

Closed NickleDave closed 2 years ago

NickleDave commented 2 years ago

the current source code layout that we've evolved into since 0.6.0 release + setup.py causes a couple of issues:

fix:

This is the structure I mean by "monorepo", I think this is the least-complicated solution. An alternative might be doing something fancy with setup.cfg and/or setup.py but I'm not sure if it's possible and if so worth it

tweetynet 
│   ├── tweetynet
│   │   ├── src
│   │   ├── setup.cfg 
│   │   └── tests/
│   └── article
│   │   ├── src
│   │   ├── setup.cfg 
NickleDave commented 2 years ago

Also, these issues are what's preventing me from testing whether the fix for newer versions of torch works. Hence the need to fix sooner rather than later

NickleDave commented 2 years ago

I ended up solving this differently.