Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ScattPy/scikits.scattpy
Light Scattering Methods for Python
https://github.com/ScattPy/scikits.scattpy
Last synced: about 2 months ago
JSON representation
Light Scattering Methods for Python
- Host: GitHub
- URL: https://github.com/ScattPy/scikits.scattpy
- Owner: ScattPy
- Created: 2010-12-30T06:14:47.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-05-22T21:33:28.000Z (over 12 years ago)
- Last Synced: 2024-08-03T16:08:24.918Z (5 months ago)
- Language: Python
- Homepage: scattpy.github.com
- Size: 2.47 MB
- Stars: 14
- Watchers: 6
- Forks: 3
- Open Issues: 10
-
Metadata Files:
- Readme: README
Awesome Lists containing this project
- awesome-physics - scattpy - Light Scattering Methods for Python (Electromagnetism / Sound)
README
ScattPy is a scikits package providing numerical methods
of solving light scattering by non-spherical particles.Installation from sources
=========================In the directory scattpy (the same as the file you are reading now), just do:
python setup.py install
Distribution
============A scikit can be distributed by different means:
Source distribution
-------------------To prepare a source distribution of the package:
python setup.py sdist
Eggs
----Eggs are a format for easy distribution of packages. It is cross platform for
packages without any C code, and platform specific otherwise. To build an egg:Binary installers
-----------------Binary installers are platform specific. On Windows, you can do:
python setup.py bdist_wininst
On Mac OS X (this requires an extension, bdist_mpkg, available on Pypi)
python setup.py bdist_mpkg
Pypi
====Any scikits can also be registered to pypi, for source and eventually binary
installer hosting. To register a package, and upload the sources at the same time:python setup.py register sdist upload
This will register the package to pypi, prepare a tarball of the package, and
upload it to pypi. You can also upload the files manually to pypi webpage.Other distributions can be uploaded to pypi. For example:
python setup.py bdist_egg upload
Once an egge is uploaded to scipy, people can simply install it with easy_install:
easy_install scikits.example
If you don't want to install as an egg, but from the sources:
easy_install -eNb example scikits.example
Will download the most recent sources, and extract them into the example
directory.