Re: Problem while integrating unittest with setuptools

2019-09-03 Thread YuXuan Dong
Finally I found why my setup.py dosen't work. I didn't put a `__init__.py` in my `test` folder, thus Python dosen't think it's a package. That's why it found the wrong package. Thank you. On Mon, Sep 02, 2019 at 04:28:50PM +0200, dieter wrote: > YuXuan Dong writes: > > I have uninsta

Re: Problem while integrating unittest with setuptools

2019-09-02 Thread YuXuan Dong
/Versions/3.7/lib/python3.7/test`. To verify my guess, I renamed the `test` folder in the above folder. As expected, another exception is raised. The problem now is that, how could I config my `setup.py` to work properly? On 2019/9/2, 13:07, "Python-list on behalf of dieter" wrote:

Re: Need help: integrating unittest with setuptools

2019-09-02 Thread YuXuan Dong
`pip3 install winreg` on MacOS and I got: `Could not find a version that satisfies the requirement winreg`. On 2019/9/2, 08:11, "Python-list on behalf of Sayth Renshaw" wrote: On Monday, 2 September 2019 04:44:29 UTC+10, YuXuan Dong wrote: > Hi, everybody: >

Need help: integrating unittest with setuptools

2019-09-01 Thread YuXuan Dong
Hi, everybody: I have met a problem while I ran `python setup.py test`: unittest.case.SkipTest: No module named 'winreg' I ran the command in MacOS and my project is written for only UNIX-like systems. I don't use any Windows-specified API. How dose `winreg` come here? In my

python-list@python.org

2019-09-01 Thread YuXuan Dong
-- https://mail.python.org/mailman/listinfo/python-list

Problem while integrating unittest with setuptools

2019-09-01 Thread YuXuan Dong
Hi, everybody: I met a problem while I ran `python setup.py test`: unittest.case.SkipTest: No module named 'winreg' I ran the command in MacOS and my project is written for only UNIX-like systems. I don't use any Windows-specified API. How dose `winreg` come here? In my `setup.py`: