vurcosmo.blogg.se

Py pip install
Py pip install












py pip install py pip install

Setup ( name = 'example', version = '0.1.0', packages = find_packages ( include = ), install_requires = ) Now all that you need to do in order to install your package is to run the followingįrom inside the example_project/ directory 3: Prevent the inclusion of tests in the package, but this is slightly Alternatively, you can also use the exclude argument to explicitly If you included an _init_.py in your tests/ĭirectory. Without any arguments, this can potentially result in unwanted packages toīe included. While you could in principle use find_packages()

py pip install

What packages to include in our case this is just exampleproject/.Īutomatically 2.This is the version pip will report, and is usedįor example when you publish your package on PyPI 1. Using pip install scikit-learn, while you use it by importing from sklearn. Name and the directory do not match is Scikit-Learn: you install it In, although it may be confusing if it is not. This does not have to be the same as the folder name the package lives The name of the package, which is the name that pip will use for your package.From setuptools import setup, find_packages setup ( name = 'example', version = '0.1.0', packages = find_packages ( include = ) )














Py pip install