Skip to content

Commit

Permalink
moved to src structure
Browse files Browse the repository at this point in the history
  • Loading branch information
chris.brett committed Nov 25, 2022
1 parent 9d83ed9 commit ec72438
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ classifiers =
Intended Audience :: Developers

[options]
package_dir =
= src
packages = find:
python_requires = >=3.6

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
from logging import StreamHandler

from simulation import time_provider
from src.simulation import time_provider


class Handler(StreamHandler):
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import logging

from simulation import time_provider
from src.simulation import time_provider

logger = logging.getLogger(__name__)

Expand Down
4 changes: 2 additions & 2 deletions simulation/sim.py → src/simulation/sim.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import random

from simulation import des_aware_logging
from simulation.discrete_event_scheduler import DiscreteEventScheduler
from src.simulation import des_aware_logging
from src.simulation.discrete_event_scheduler import DiscreteEventScheduler


def run_sim(initial_event, post_processing=None):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/test_sim.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from simulation import sim
from src.simulation import sim


def test_sim():
Expand Down

0 comments on commit ec72438

Please sign in to comment.