AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Simply fortran aplot manual11/14/2022 ![]() ![]() To Configuration constructor, Configuration instance (let usĭenote as config) has the following attributes that can be usefulĬonfig.name - full name of the current package. In addition to attributes that can be specified via keyword arguments The configuration data as a dictionary suitable for passing on to the These keyword arguments will not be processed or checked for theįinally, Configuration has. ![]() Specification of these keywords is not recommended as the content of Setup(.) function would expect, for example, packages,Įxt_modules, data_files, include_dirs, libraries, Usually, these keywords are the same as the ones that Remaining Configuration arguments are all keyword arguments that willīe used to initialize attributes of Configuration Package_path, that can be used when package files are located inĪ different location than the directory of the setup.py file. The Configuration constructor has a fourth optional argument, These arguments,Īlong with the name of the current package, should be passed to the Parent SciPy package ( parent_package) and the directory location The arguments of the configuration function specify the name of #!/usr/bin/env python3 def configuration ( parent_package = '', top_path = None ): from _util import Configuration config = Configuration ( 'mypackage', parent_package, top_path ) return config if _name_ = "_main_" : from import setup #setup(**configuration(top_path='').todict()) setup ( configuration = configuration ) SciPy packages should be kept minimal or zero.Ī SciPy package contains, in addition to its sources, the following Therefore, the SciPyĭirectory tree is a tree of packages with arbitrary depth and width.Īny SciPy package may depend on NumPy packages but the dependence on other SciPy consists of Python packages, called SciPy packages, that areĪvailable to Python users via the scipy namespace. The aim of this document is to describe how to add new tools to SciPy. SciPy - a collection of scientific tools for Python. Numpy.testing - numpy-style tools for unit testing re - future replacement of Numeric and numarray packages Numpy.f2py - a tool to bind Fortran/C codes to Python Numpy.distutils - extension to Python distutils For more details, see Status of numpy.distutils and migration advice SciPy structure #Ĭurrently SciPy project consists of two packages: ![]() Numpy.distutils is deprecated, and will be removed for ![]()
0 Comments
Read More
Leave a Reply. |