Skip to content

Commit

Permalink
Merge pull request #4 from ucuapps/imppkg
Browse files Browse the repository at this point in the history
`examples` excluded from package installation
  • Loading branch information
Oleh Lukianykhin authored Nov 1, 2019
2 parents 90bcb7c + 276186e commit ce73828
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion examples/cart_pole_bdp.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
from ..gymalgs.rl import BDP
from gymalgs.rl import BDP
import gym
import numpy as np
import math
Expand Down
2 changes: 1 addition & 1 deletion examples/cart_pole_bdp_experiments.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
import numpy as np
import math
from ..examples import run_bdp_experiments
from examples import run_bdp_experiments


def run_experiment_with_result_files(folder,
Expand Down
2 changes: 1 addition & 1 deletion examples/cart_pole_q_learner.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging
from ..gymalgs.rl import QLearner
from gymalgs.rl import QLearner
import gym
import numpy as np
import math
Expand Down
2 changes: 1 addition & 1 deletion examples/cart_pole_ql_experiments.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import logging
import numpy as np
import math
from ..examples import run_ql_experiments
from examples import run_ql_experiments


def run_experiment_with_result_files(folder,
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
setup(
name='modelicagym',
version='1.0',
packages=['modelicagym.examples', 'modelicagym.environment', 'modelicagym.gymalgs.rl'],
packages=['modelicagym.environment', 'modelicagym.gymalgs.rl'],
package_dir={
'modelicagym.examples': './examples',
'modelicagym.gymalgs.rl': './gymalgs/rl'
},
url='github.com/ucuapps/modelicagym',
Expand Down

0 comments on commit ce73828

Please sign in to comment.