Tencent / QTAF

QTA test framework
Other
505 stars 153 forks source link

"python manage.py dist" failed on macos #72

Open guyingzhao opened 5 years ago

guyingzhao commented 5 years ago

reproducing recipe:

under macos, python==2.7.10

qta-manage createproject foo
cd footestproj
echo qtaf > requirements.txt
python manage.py dist

error:

  File "/Users/guying/workspace/QTAF/testbase/dist.py", line 203, in _generate_sdist
    reqs = self._merge_requirements()
  File "/Users/guying/workspace/QTAF/testbase/dist.py", line 182, in _merge_requirements
    reqs_dict[it.name] = str(it)
AttributeError: Requirement instance has no attribute 'name'
guyingzhao commented 5 years ago

fixed at #73

eeelin commented 5 years ago

This issue is related to your version of setuptools, would you provide more information ?