Python setuptoolscan create the source distribution:
setuptools
python setup.py sdist # create a source distribution (tarball, zip file, etc.)
Or binary distribution:
python setup.py bdist # create a built (binary) distribution
As far as I understand, there should be no differences in performance:
bdist
.pyc
sdist
.py
When executed, it doesn't matter how the files .pycare compiled - they should have the same performance.
Is there any performance difference between packages distand sdistpython?
dist
Python, . , .py .pyc, , . .pyo , , , .
.pyo
, C. sdist , , , Python .. , . , .
, bdist . , , . , . Setuptools -, .
Source: https://habr.com/ru/post/1543006/More articles:Как получить URL-адрес для разных методов действий в одном контроллере без имени контроллера в URL-адресе? - asp.net-mvcКак reset listview после того, как searchview закрыт в android? - androidUpdate to 2.3.9 - Error executing RunApp script: org / codehaus / groovy / runtime / typehandling / ShortTypeHandling - grailsGrouping data in a time interval - sqlGetting double decimal - javaНевозможно неявно преобразовать тип 'System.Web.Mvc.RedirectToRouteResult' в 'System.Web.Mvc.JsonResult' - jsonNested ng grids? - angularjsDbContext.ChangeTracker.HasChanges is very slow - c #Bulk insertion in Postgres with brianc / node-postgres - node.jsto build a query with a conditional clause where in an eloquent model - mysqlAll Articles