diff --git a/.gitignore b/.gitignore index 4a9c81d1..df1952cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ **/*.h5 **/*.pyc **/*.csv.gz +**/*.egg-info diff --git a/Makefile b/Makefile index cf8ea802..b6da0bf6 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ install: - pip install -r requirements.txt + pip install -e . test: pytest . diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 35f3f7b5..00000000 --- a/requirements.txt +++ /dev/null @@ -1,5 +0,0 @@ -policyengine_us -taxcalc -pytest -black -paramtools diff --git a/setup.py b/setup.py new file mode 100644 index 00000000..b8ae70b1 --- /dev/null +++ b/setup.py @@ -0,0 +1,14 @@ +from setuptools import setup, find_packages + +setup( + name="tax_microdata_benchmarking", + version="0.1.0", + packages=find_packages(), + install_requires=[ + "policyengine_us", + "taxcalc", + "paramtools", + "pytest", + "black", + ], +) \ No newline at end of file diff --git a/initial_flat_file/create_flat_file.py b/tax_microdata_benchmarking/create_flat_file.py similarity index 100% rename from initial_flat_file/create_flat_file.py rename to tax_microdata_benchmarking/create_flat_file.py diff --git a/tests/test_basic_flat_file.py b/tests/test_basic_flat_file.py index c5ec2565..b541d3d1 100644 --- a/tests/test_basic_flat_file.py +++ b/tests/test_basic_flat_file.py @@ -1,6 +1,6 @@ def test_flat_file_runs(): import taxcalc as tc - from initial_flat_file.create_flat_file import create_flat_file + from tax_microdata_benchmarking.create_flat_file import create_flat_file create_flat_file()