dadadel / pyment

Format and convert Python docstrings and generates patches
GNU General Public License v3.0
905 stars 62 forks source link

Use entry_points to get a *.exe on windows #14

Closed jankatins closed 9 years ago

jankatins commented 9 years ago

Without this, on windows, we only get a scripts\pyment file, which is not executeable under windows.

dadadel commented 9 years ago

Hi @JanSchulz,

Thanks for contributing. I am not really used to entry_points but it seems ok! However, the import replacement you did doesn't work as is (from pyment.pyment to from pyment). You should add the imported items to pyment/__init__.py first (as done for PyComment). Can you fix it and propose a new pull request please?

dadadel commented 9 years ago

Finally I fixed it. Thanks again for your help!