Skip to content

Commit

Permalink
Reorganized files to have a proper package structure
Browse files Browse the repository at this point in the history
  • Loading branch information
bthirion committed Nov 28, 2023
1 parent a2d8e02 commit 667ebe5
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 6 deletions.
9 changes: 7 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,18 @@
long_description = readme.read()

setuptools.setup(
name='benchmark_mediation',
name='med_bench',
version='0.1',
author='Judith Abécassis',
description='Benchmark mediation',
long_description=long_description,
long_description_content_type='text/markdown',
packages=setuptools.find_packages('.'),
# packages=setuptools.find_packages('src/*'),
packages=setuptools.find_packages(
where='src',
include=['med_bench*'],
),
package_dir={"": "src"},
install_requires=[
'pandas>=1.2.1',
'scikit-learn>=0.22.1',
Expand Down
1 change: 0 additions & 1 deletion src/__init__.py

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
import pytest
import numpy as np
from numpy.random import default_rng
from med_bench.src.get_simulated_data import simulate_data
from med_bench.src.get_estimation import get_estimation
from med_bench.get_simulated_data import simulate_data
from med_bench.get_estimation import get_estimation


SMALL_ATE_TOLERANCE = 0.05
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import pytest
import numpy as np
from numpy.random import default_rng
from med_bench.src.get_simulated_data import simulate_data
from med_bench.get_simulated_data import simulate_data


PARAMETER_NAME = [
Expand Down

0 comments on commit 667ebe5

Please sign in to comment.