8000 [#148] Fix the bug when getting user home dir on Windows by fkztw · Pull Request #149 · zdict/zdict · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Jul 10, 2023. It is now read-only.

[#148] Fix the bug when getting user home dir on Windows #149

Closed
wants to merge 6 commits into from

Conversation

fkztw
Copy link
Member
@fkztw fkztw commented Dec 7, 2017

Use os.path.expanduser instead of using os.path.join directly,
since the formmer is better handled for Windows.

https://docs.python.org/3/library/os.path.html#os.path.expanduser

ref: GitHub issue #148

@fkztw
Copy link
Member Author
fkztw commented Dec 7, 2017

Should we use Appveyor to test if it works on Windows or we just bump version to 0.10.1 for this PR?

@iblislin
Copy link
Member
iblislin commented Dec 7, 2017

Setting up Appveyor in the PR will be fine.

@fkztw
Copy link
Member Author
fkztw commented Dec 7, 2017

Sure. It may take some time.

@iblislin
Copy link
Member
iblislin commented Dec 7, 2017

take your time.

@
8000
coveralls
Copy link
coveralls commented Dec 7, 2017

Coverage Status

Coverage decreased (-0.2%) to 85.506% when pulling 59322ec on issue-148 into 70bb849 on master.

@wdv4758h
Copy link
Member
wdv4758h commented Dec 8, 2017

Finally, we have Windows user :P

@iblislin
Copy link
Member
iblislin commented Dec 8, 2017

I'm also curious about the printing colour escape sequence is legit in Win's terminal or not.

@fkztw
Copy link
Member Author
fkztw commented Dec 9, 2017

Me, too. I don't think it will work. LOL

Use `os.path.expanduser` instead of using `os.path.join` directly,
since the formmer is better handled for Windows.

ref: <https://docs.python.org/3/library/os.path.html#os.path.expanduser>
shunyi added 5 commits February 24, 2018 20:34
+ Remove Python 2.
+ Added install part.
Install gnureadline for OSX with Python version <= 3.5.
Install pyreadline for Windows.
No need to use patch for linux, darwin and windows
because we will run test on all these platforms.
@fkztw
Copy link
Member Author
fkztw commented Feb 24, 2018

I gave up.
There are too many problems to run zdict natively in cmd.exe on Windows.
For Windows user, just use Docker to run zdict.
Unless someone really want to implement this feature.

@fkztw fkztw closed this Feb 24, 2018
@fkztw fkztw deleted the issue-148 branch March 8, 2019 04:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0