Skip to content

Commit

Permalink
[AIRFLOW-4725] Fix setup.py PEP440 & Sphinx-PyPI-upload dependency (a…
Browse files Browse the repository at this point in the history
  • Loading branch information
BasPH authored and potiuk committed Jun 9, 2019
1 parent 827d6d4 commit 18b2738
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion airflow/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@
# under the License.
#

version = '2.0.0.dev0+'
version = '2.0.0.dev0'
8 changes: 0 additions & 8 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ universal=1
[files]
packages = airflow

[build_sphinx]
source-dir = docs/
build-dir = docs/_build
all_files = 1

[upload_sphinx]
upload-dir = docs/_build/html

[easy_install]

[mypy]
Expand Down
11 changes: 9 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,12 @@ def run_tests(self):


class CleanCommand(Command):
"""Command to tidy up the project root."""
"""
Command to tidy up the project root.
Registered as cmdclass in setup() so it can be called with ``python setup.py extra_clean``.
"""

description = "Tidy up the project root"
user_options = []

def initialize_options(self):
Expand All @@ -86,7 +91,10 @@ def run(self):
class CompileAssets(Command):
"""
Compile and build the frontend assets using npm and webpack.
Registered as cmdclass in setup() so it can be called with ``python setup.py compile_assets``.
"""

description = "Compile and build the frontend assets"
user_options = []

def initialize_options(self):
Expand Down Expand Up @@ -171,7 +179,6 @@ def write_version(filename=os.path.join(*['airflow',
doc = [
'sphinx-argparse>=0.1.13',
'sphinx-autoapi>=0.7.1',
'Sphinx-PyPI-upload>=0.2.1',
'sphinx-rtd-theme>=0.1.6',
'sphinx>=1.2.3',
'sphinxcontrib-httpdomain>=1.7.0',
Expand Down

0 comments on commit 18b2738

Please sign in to comment.