ayust / kitnirc

Python IRC bot framework.
MIT License
11 stars 7 forks source link

Where should community Modules go? #4

Closed ghost closed 10 years ago

ghost commented 10 years ago

For people that would like to develop general purpose modules where should they go? Should they be submitted in https://github.com/ayust/kitnirc/tree/master/kitnirc/contrib or distributed in PyPi?

If PyPi is there any good naming or packaging convention that should be followed?

I am thinking a twitter module in contrib would be called contrib/twitter.py and in PyPi I would probably call it kitntwitter

ayust commented 10 years ago

contrib/ is fine for anything that's fairly self-contained (rule of thumb, "is it a single file"). If a module's more extensive (e.g. has multiple code files), it'd probably be better to keep it in a separate package.