sylhare / nprime

:100: Prime numbers algorithms in Python
GNU General Public License v3.0
13 stars 3 forks source link

Add `__version__` to `__init__.py` #23

Closed Erotemic closed 4 years ago

Erotemic commented 4 years ago

It is customary for top-level packages to have a __version__ attribute.

Currently you define version='1.1.1' in setup.py. What would be better is if you defined

__version__ = '1.1.1'

in __init__.py and then in setup.py imported nprime and set version=nprime.__version__.

sylhare commented 4 years ago

Hi, thanks.

There are a lot of issues open today 😅 the project is open to contribution if you wish. Otherwise, I'll be able to work on it later.

sylhare commented 4 years ago

Fixed this one 👍