About 368,000 results
Open links in new tab
  1. python - What is setup.py? - Stack Overflow

    Sep 24, 2009 · setup.py is Python's answer to a multi-platform installer and make file. If you’re familiar with command line installations, then make && make install translates to python setup.py build && python setup.py install. Some packages are pure Python, and are only byte compiled.

  2. python - setup.py examples? - Stack Overflow

    Here is the utility I wrote to generate a simple setup.py file (template) with useful comments and links. I hope, it will be useful. Installation sudo pip install setup-py-cli Usage. To generate setup.py file just type in the terminal. setup-py Now setup.py file should occur in the current directory. Generated setup.py

  3. Python setup.py develop vs install - Stack Overflow

    Sep 27, 2013 · Two options in setup.py develop and install are confusing me. According to this site, using develop creates a special link to site-packages directory. People have suggested that I use python setup.py install for a fresh installation and python setup.py develop after any changes have been made to the setup file.

  4. python - setup.py install vs pip install - Stack Overflow

    Oct 19, 2020 · setup.py is a python file, which usually tells you that the module/package you are about to install has been packaged and distributed with Distutils, which is the standard for distributing Python Modules. This allows you to easily install Python packages.

  5. python - How do you run a setup.py file properly? - Stack Overflow

    Jul 13, 2015 · python setup.py install If you need to build the package first, use the build command before installing ...

  6. Standard way to embed version into Python package?

    This file is a Python module, but your setup.py doesn't import it! (That would defeat feature 3.) Instead your setup.py knows that the contents of this file is very simple, something like: __version__ = "3.6.5" And so your setup.py opens the file and parses it, with code like:

  7. "pip install --editable ./" vs "python setup.py develop"

    May 18, 2015 · One more difference: pip install -e uses wheel while python setup.py develop doesn't use it. With install, you could achieve the same behavior by using pip install -e /path/to/package --no-use-wheel. More info on wheels : python wheels

  8. python - How to perform custom build steps in setup.py ... - Stack …

    Jan 21, 2013 · in setup.py: from setuptools import setup, find_packages from setuptools.command.install import install ...

  9. python - How can I get the version defined in setup.py …

    Jan 13, 2010 · That will work when you test it by creating a new Python interpreter and executing setup.py in it first thing: python setup.py, but there are cases when it won't work. That's because import youpackage doesn't mean to read the current working directory for a directory named "yourpackage", it means to look in the current sys.modules for a key ...

  10. How to specify dependencies when creating the setup.py file for a ...

    Jul 25, 2016 · If you want to create a package that specifies dependencies for a tool like pip to go out and find for you, you need to base your setup.py of off setuptools instead. setuptools dependencies are listed in install_requires , which takes a list:

Refresh