GHC 2020-05-02

3 comments.

, https://git.io/Jf3o2 in jarun/ddgr
```diff
diff --git a/setup.py b/setup.py
index bc4889e..294575b 100644
--- a/setup.py
+++ b/setup.py
@@ -1,10 +1,12 @@
 #!/usr/bin/env python3
 
 import re
+import os.path
 import setuptools
 import shutil
 
-shutil.copyfile('ddgr', 'ddgr.py')
+if os.path.isfile('ddgr'):
+    shutil.copyfile('ddgr', 'ddgr.py')
 
 with open('ddgr.py', encoding='utf-8') as fp:
     version = re.search(r'_VERSION_ = \'(.*?)\'', fp.read()).group(1)
```

that should do.

, https://git.io/Jf3uX in jarun/ddgr
Need to make sure `ddgr` exists before copying. https://github.com/jarun/ddgr/blob/2da90865796a5deaabfac10c451d0ea249cec6f3/setup.py#L7

, https://git.io/Jf34S in jarun/ddgr
Done updating, and I set up a bot so that in the future it wouldn't depend on me not missing Github notifications. https://github.com/zmwangx/pypi-release-bot/blob/master/.github/workflows/ddgr.yml

Btw sdist is broken, run https://github.com/zmwangx/pypi-release-bot/blob/a21fc7182f87919258e6b5b456165f0018e8dba5/.github/workflows/ddgr.yml#L28-L31 and you'll know why.