PBR

invalid distribution name or version syntax -mypackage--1.0.0

Bug #1824826 reported by simon p
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PBR
New
Undecided
Unassigned

Bug Description

Hi,

I have been trying to learn how to use pbr with the attached setup.py and setup.cfg.

My python environment is:
Python 3.6.6.
Pip 19.0.3
Setuptools 41.0.0

Before installing my package I have deleted all local and remote tags in my source repository:

I then commit a signed tag into source repository using:
git -s -a 1.0.0 -m "1.0.0"
git push origin master --tags

I have then tried to install the package using:
pip install .

I receive the following error:

Complete output from command python setup.py egg_info:
    running egg_info
    error: Invalid distribution name or version syntax: -mypackage--1.0.0

Any ideas what is causing the issue?

Kind regards

dcs3spp

Revision history for this message
simon p (dcs3spp) wrote :
Revision history for this message
simon p (dcs3spp) wrote :

Apologies, please close, problem stemmed from include single quotes and using , in setup.cfg !!!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.