diff --git a/README.md b/README.md index 42e1978..e71d3dc 100644 --- a/README.md +++ b/README.md @@ -70,17 +70,6 @@ principle is available to rationalize crystallization. In this [work](https://do ``` -#### Install PyStokes and its dependencies in an [environment](https://github.com/rajeshrinet/pystokes/blob/master/environment.yml) named "pystokes" via [Anaconda](https://docs.conda.io/projects/continuumio-conda/en/latest/user-guide/install/index.html) - - -```bash ->> git clone https://github.com/rajeshrinet/pystokes.git ->> cd pystokes ->> make env ->> conda activate pystokes ->> make -``` - ### Via pip Install the latest [PyPI](https://pypi.org/project/pystokes) version diff --git a/environment.yml b/environment.yml deleted file mode 100644 index c5942f6..0000000 --- a/environment.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: pystokes -channels: - - conda-forge -dependencies: - - python - - numpy - - matplotlib - - cython - - scipy - - jupyter - - ipython - - nbconvert - - pytest - - pytest-cov diff --git a/makefile b/makefile deleted file mode 100644 index 92c9c6a..0000000 --- a/makefile +++ /dev/null @@ -1,46 +0,0 @@ -PYTHON=python -path=examples -recursive=True - -make: - @echo Installing pystokes... - ${PYTHON} setup.py install - -clean-local: - @echo removing local compiled files - rm pystokes/*.c pystokes/*.html pystokes/*.cpp - -clean: - @echo removing all compiled files - ${PYTHON} setup.py clean - rm pystokes/*.c pystokes/*.html - -env: - @echo creating conda environment... - conda env create --file environment.yml - # conda activate pystokes - @echo use make to install pystokes - -test: - @echo testing pystokes... - cd tests && python shortTests.py - -nbtest: - @echo testing example notebooks... - @echo test $(path) - cd tests && python notebookTests.py --path $(path) --recursive $(recursive) - -pypitest: - @echo testing pystokes... - python setup.py sdist bdist_wheel - python -m twine upload --repository testpypi dist/* - -pypi: - @echo testing pystokes... - python setup.py sdist bdist_wheel - python -m twine upload dist/* - -cycov: - python setup.py build_ext --force --inplace --define CYTHON_TRACE - cp tests/shortTests.py tests_cov.py - pytest tests_cov.py --cov=./ --cov-report=xml diff --git a/pystokes/wallBounded.pxd b/pystokes/wallBounded.pxd index 662e569..353cfd9 100644 --- a/pystokes/wallBounded.pxd +++ b/pystokes/wallBounded.pxd @@ -65,7 +65,7 @@ cdef class Rbm: @cython.nonecheck(False) @cython.wraparound(False) cdef class Flow: - cdef readonly double a, eta + cdef readonly double b, eta cdef readonly int Nt, N