Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
118 changes: 118 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
docs/api_reference/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# pyenv
.python-version

# celery beat schedule file
celerybeat-schedule

# SageMath parsed files
*.sage.py

# dotenv
.env

# virtualenv
.venv
venv/
ENV/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/

# vim
.*.swp

# IDE
.vscode/
.idea/

data/
output/
orion-jupyter.tar
*.csv
*.pkl

.DS_Store
20 changes: 10 additions & 10 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ publish: dist ## package and upload a release
twine upload dist/*

.PHONY: bumpversion-release
bumpversion-release: ## Merge master to stable and bumpversion release
bumpversion-release: ## Merge main to stable and bumpversion release
git checkout stable
git merge --no-ff master -m"make release-tag: Merge branch 'master' into stable"
git merge --no-ff main -m"make release-tag: Merge branch 'main' into stable"
bumpversion release
git push --tags origin stable

.PHONY: bumpversion-patch
bumpversion-patch: ## Merge stable to master and bumpversion patch
git checkout master
bumpversion-patch: ## Merge stable to main and bumpversion patch
git checkout main
git merge stable
bumpversion --no-tag patch
git push
Expand All @@ -123,10 +123,10 @@ bumpversion-candidate: ## Bump the version to the next candidate
CURRENT_BRANCH := $(shell git rev-parse --abbrev-ref HEAD 2>/dev/null)
CHANGELOG_LINES := $(shell git diff HEAD..origin/stable HISTORY.md 2>&1 | wc -l)

.PHONY: check-master
check-master: ## Check if we are in master branch
ifneq ($(CURRENT_BRANCH),master)
$(error Please make the release from master branch\n)
.PHONY: check-main
check-main: ## Check if we are in main branch
ifneq ($(CURRENT_BRANCH),main)
$(error Please make the release from main branch\n)
endif

.PHONY: check-history
Expand All @@ -136,13 +136,13 @@ ifeq ($(CHANGELOG_LINES),0)
endif

.PHONY: check-release
check-release: check-master check-history ## Check if the release can be made
check-release: check-main check-history ## Check if the release can be made

.PHONY: release
release: check-release bumpversion-release publish bumpversion-patch

.PHONY: release-candidate
release-candidate: check-master publish bumpversion-candidate
release-candidate: check-main publish bumpversion-candidate

.PHONY: release-minor
release-minor: check-release bumpversion-minor release
Expand Down
140 changes: 0 additions & 140 deletions pygridsim.egg-info/PKG-INFO

This file was deleted.

24 changes: 0 additions & 24 deletions pygridsim.egg-info/SOURCES.txt

This file was deleted.

1 change: 0 additions & 1 deletion pygridsim.egg-info/dependency_links.txt

This file was deleted.

1 change: 0 additions & 1 deletion pygridsim.egg-info/not-zip-safe

This file was deleted.

23 changes: 0 additions & 23 deletions pygridsim.egg-info/requires.txt

This file was deleted.

1 change: 0 additions & 1 deletion pygridsim.egg-info/top_level.txt

This file was deleted.

2 changes: 1 addition & 1 deletion pygridsim/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

__author__ = 'Angela Zhao'
__email__ = 'amzhao@mit.edu'
__version__ = '0.1.0.dev0'
__version__ = '0.1.0.dev1'

from pygridsim.core import PyGridSim
Binary file removed pygridsim/__pycache__/__init__.cpython-312.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/core.cpython-310.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/core.cpython-312.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/defaults.cpython-310.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/defaults.cpython-312.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/enums.cpython-312.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/lines.cpython-310.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/lines.cpython-312.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/parameters.cpython-310.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/parameters.cpython-312.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/queries.cpython-310.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/queries.cpython-312.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/results.cpython-312.pyc
Binary file not shown.
Binary file removed pygridsim/__pycache__/transformers.cpython-312.pyc
Binary file not shown.
Loading