Commit fa8d47f6 authored by Marius Kriegerowski's avatar Marius Kriegerowski
Browse files

setup rudimentary project structure

parent 9cadf3a7
SOURCES=shakyground2 *.py
LENGTH=96
check: $(SOURCES)
flake8 --max-line-length=$(LENGTH) $^
black --check --line-length $(LENGTH) $^
pylint -E $^
black: $(SOURCES)
black --line-length $(LENGTH) $^
# shakyground2 # shakyground2
Scientific code, tools and API to generate, process and communicate ground motions. Scientific code, tools and API to generate, process and communicate ground motions.
\ No newline at end of file
## Development and contribution
Install development and test dependencies with
pip3 install .[tests]
Before committing make check or correct your code style
make check
or
make black
\ No newline at end of file
#!/usr/bin/python3
from setuptools import setup, find_packages
test_requirements = ["pylint", "flake8", "pytest"]
setup(
name="shakyground2",
version="0.1.0",
description="",
license="AGPLv3+",
extras_require={"tests": test_requirements},
install_requires=[],
packages=find_packages(),
python_requires=">=3.7",
)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment