Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + src
- + Indicators
- - Moving_averages.py
- - Stochastics.py
- + Strategies
- - Moving_averages_cross.py
- - example.py
- from Indicators.Stochastics import *
- from Indicators import Stochastics
- some/
- __init__.py
- foofoo.py
- thing/
- __init__.py
- barbar.py
- import some
- some.dothis() # dothis is defined in 'some/__init__.py'
- import some.foofoo # <- module
- import some.thing # <- package
- .
- |-- bin
- | `-- my_program
- |-- docs
- | `-- doc.txt
- |-- my_program
- | |-- data
- | | `-- some_data.html
- | |-- __init__.py
- | |-- submodule
- | | `-- __init__.py
- | |-- helpers.py
- |-- tests
- | |-- __init__.py
- | |-- test_helpers.py
- |-- Makefile
- |-- CHANGES.txt
- |-- LICENSE.txt
- |-- README.md
- |-- requirements-dev.txt
- |-- requirements.txt
- `-- setup.py
- PYTHON=`which python`
- NAME=`python setup.py --name`
- all: check test source deb
- init:
- pip install -r requirements.txt --use-mirrors
- dist: source deb
- source:
- $(PYTHON) setup.py sdist
- deb:
- $(PYTHON) setup.py --command-packages=stdeb.command bdist_deb
- rpm:
- $(PYTHON) setup.py bdist_rpm --post-install=rpm/postinstall --pre-uninstall=rpm/preuninstall
- test:
- unit2 discover -s tests -t .
- python -mpytest weasyprint
- check:
- find . -name *.py | grep -v "^test_" | xargs pylint --errors-only --reports=n
- # pep8
- # pyntch
- # pyflakes
- # pychecker
- # pymetrics
- clean:
- $(PYTHON) setup.py clean
- rm -rf build/ MANIFEST dist build my_program.egg-info deb_dist
- find . -name '*.pyc' -delete
- botondstats/
- indicators/
- moving_averages.py
- stochastics.py
- strategies/
- moving_averages_cross.py
- example.py
- from botondstats.indicators.stochastics.Stochastics
- BotondStatistics/
- docs/
- botonstats/ # the above structure
- setup.py # Distutils/distribute configuration for packaging.
- ./bin/python setup.py tests
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement