andriisoldatenko commented on a change in pull request #4932: [AIRFLOW-3611]
Simplified development workflow
URL: https://github.com/apache/airflow/pull/4932#discussion_r266587674
##########
File path: setup.py
##########
@@ -35,31 +34,34 @@
PY3 = sys.version_info[0] == 3
-with io.open('README.md', encoding='utf-8') as f:
- long_description = f.read()
+try:
+ FileNotFoundError
+except NameError:
+ FileNotFoundError = IOError
+try:
+ with io.open('README.md', encoding='utf-8') as f:
+ long_description = f.read()
+except FileNotFoundError:
+ long_description = ''
-class Tox(TestCommand):
- user_options = [('tox-args=', None, "Arguments to pass to tox")]
+
+class CleanCommand(Command):
+ """Custom clean command to tidy up the project root."""
Review comment:
```
In [6]: help(CleanCommand)
Help on class CleanCommand in module __main__:
class CleanCommand(Command)
| Command to tidy up the project root.
|
| Method resolution order:
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services