democritus-project / democritus-project/roadmap

Update setup.py to pull version number from __init__.py

Open
#47 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

When importing libraries in ipython/python, I get an error:

```
>>> from democritus_dates import *
Unable to find a version number for "democritus_dates". This likely means the library was not installed properly. Please re-install it and, if the problem persists, raise an issue here: https://github.com/democritus-project/democritus-dates/issues.
```

Contributor guide

Open the contributing guide

Research direction

Start by comparing setup.py with democritus_dates/__init__.py to see how the package version is currently defined and discovered. Verify the package installation and import path in IPython/Python; done means the installed library reports its version without the shown error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.