From 314d83c5f9ebcc8b60eae2b922311b90be12aa21 Mon Sep 17 00:00:00 2001 From: David Tomicek Date: Mon, 12 Jul 2021 13:13:56 +0200 Subject: [PATCH] formatting --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 89e2380..2efe41b 100644 --- a/README.md +++ b/README.md @@ -128,8 +128,8 @@ does not recommend this lib anymore. setuptools were created and It offers more options, after making setuptools implemented in python installation It becomes standart. Now we will take a look for some python setup.py use cases. - python setup.py build Creates a build folder (which is necessary for installation) - but not actually install anything. We can think about that as some 'preparation for install'. + python setup.py build tree: ├── build @@ -146,8 +146,8 @@ tree: ├── __init__.py └── server23.py - python setup.py install Installation is 2 step action. First step = build. Second step = final local installation. + python setup.py install tree: ├── DEBIAN @@ -177,8 +177,8 @@ tree: ├── copyright └── changelog.gz - python setup.py sdist It will create source distribution - and zip it, so you can ship it :) + python setup.py sdist tree: ├── DEBIAN @@ -199,14 +199,14 @@ tree: ├── SOURCES.txt └── top_level.txt - python setup.py develop Executes build, installation but creates a simlink, so every changes made are immediately visible, without need of reinstall. + python setup.py develop - python setup.py bdist_rpm Creates .rpm package, which can be installed. + python setup.py bdist_rpm - python setup.py bdist_wininst Creates an executable installer for Windows. + python setup.py bdist_wininst NOTE: bdist_rpm & bdist_wininst does not work on Debian based distrubutions! You have to do that on suitable OS.