From 24232aedbcb1e9c6eac5946fcadb5cc7cbddc2cd Mon Sep 17 00:00:00 2001 From: Samuel Date: Sun, 9 Dec 2018 13:32:28 +0800 Subject: [PATCH] remove cmd class nginxpy develop --- README.rst | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index 07e4ce7..7656223 100644 --- a/README.rst +++ b/README.rst @@ -59,7 +59,7 @@ Development 1. Install NGINX in whatever way, make sure ``nginx`` command is available. 2. Checkout source code. -3. Run ``python setup.py develop``. +3. Run ``python setup.py build && python setup.py develop``. 4. Run ``python -c 'import nginx'`` to get NGINX configuration hint. 5. Update NGINX configuration accordingly and reload NGINX. 6. Visit your NGINX site, see NGINX ``error.log`` for now. diff --git a/setup.py b/setup.py index 93d9ced..10167b5 100644 --- a/setup.py +++ b/setup.py @@ -188,7 +188,7 @@ def install_for_development(self): name='nginxpy', packages=find_packages(include=['nginx', 'nginx.asyncio', 'nginx.http']), ext_modules=[nginxpy], - cmdclass=dict(build=nginxpy_build, develop=nginxpy_develop), + cmdclass=dict(build=nginxpy_build), entry_points='''\ [nginx.modules] 100 = nginx.asyncio:AsyncioModule