Skip to content

Commit

Permalink
remove sync task, add webview.h
Browse files Browse the repository at this point in the history
  • Loading branch information
zserge committed Jul 15, 2018
1 parent 8b65e9b commit 2e5462f
Show file tree
Hide file tree
Showing 3 changed files with 1,893 additions and 21 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ Also, proper Python-to-JS object mapping is not implemented yet, but is highly
To build and install the library locally:

```bash
python setup.py sync install
python setup.py install
```

To upload a new version:

```bash
python setup.py sync sdist
python setup.py sdist
twine upload dist/webview-*.tar.gz
```

To build and install it locally:

```bash
python setup.py sync install
python setup.py install
```

Please, ensure that all sources are formatted using `yapf`.
Expand Down
18 changes: 0 additions & 18 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,6 @@
from distutils.cmd import Command


class sync_command(Command):
"""A custom command to synchronize top-level webview.h implementation
with the one included in the Python bindings source package."""
description = 'synchronize webview.h'
user_options = []

def initialize_options(self):
pass

def finalize_options(self):
pass

def run(self):
shutil.copyfile('../../webview.h', 'webview/webview.h')
pass


if hasattr(os, 'uname'):
OSNAME = os.uname()[0]
else:
Expand Down Expand Up @@ -70,5 +53,4 @@ def pkgconfig(flags):
license='MIT',
classifiers=[],
ext_modules=[webview],
cmdclass={'sync': sync_command},
)
Loading

0 comments on commit 2e5462f

Please sign in to comment.