├── .github └── workflows │ ├── release.yaml │ └── test.yaml ├── .gitignore ├── CHANGELOG.md ├── LICENSE ├── MANIFEST.in ├── README.md ├── examples ├── build_target.md ├── clean.py ├── externaldep │ ├── README.md │ ├── externaldep.py │ └── setup.py ├── mypkg │ ├── mypkg │ │ ├── __init__.py │ │ ├── notimported.py │ │ ├── somedep.py │ │ └── target.py │ └── setup.py ├── otherdep │ ├── README.md │ ├── otherdep.py │ └── setup.py ├── otherpkg │ ├── otherpkg │ │ ├── __init__.py │ │ └── dep.py │ └── setup.py ├── requirements.txt └── treeshaker.cfg ├── images └── treeshaker.png ├── setup.cfg ├── setup.py ├── tox.ini └── treeshaker ├── __init__.py ├── _version.py ├── config.py ├── doc_utils.py ├── pypi_names.py ├── pypi_names.txt ├── setup_utils.py └── treeshaker.py /.github/workflows/release.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/.github/workflows/release.yaml -------------------------------------------------------------------------------- /.github/workflows/test.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/.github/workflows/test.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/.gitignore -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/LICENSE -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/README.md -------------------------------------------------------------------------------- /examples/build_target.md: -------------------------------------------------------------------------------- 1 | This is a cool target function! 2 | -------------------------------------------------------------------------------- /examples/clean.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/clean.py -------------------------------------------------------------------------------- /examples/externaldep/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/externaldep/README.md -------------------------------------------------------------------------------- /examples/externaldep/externaldep.py: -------------------------------------------------------------------------------- 1 | def externaldep_function(x): 2 | return x + 2 3 | -------------------------------------------------------------------------------- /examples/externaldep/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/externaldep/setup.py -------------------------------------------------------------------------------- /examples/mypkg/mypkg/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/mypkg/mypkg/notimported.py: -------------------------------------------------------------------------------- 1 | def notimported_function(x): 2 | return x - 2 3 | -------------------------------------------------------------------------------- /examples/mypkg/mypkg/somedep.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/mypkg/mypkg/somedep.py -------------------------------------------------------------------------------- /examples/mypkg/mypkg/target.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/mypkg/mypkg/target.py -------------------------------------------------------------------------------- /examples/mypkg/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/mypkg/setup.py -------------------------------------------------------------------------------- /examples/otherdep/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/otherdep/README.md -------------------------------------------------------------------------------- /examples/otherdep/otherdep.py: -------------------------------------------------------------------------------- 1 | def otherdep_function(x): 2 | return x - 2 3 | -------------------------------------------------------------------------------- /examples/otherdep/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/otherdep/setup.py -------------------------------------------------------------------------------- /examples/otherpkg/otherpkg/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /examples/otherpkg/otherpkg/dep.py: -------------------------------------------------------------------------------- 1 | def otherpkg_function(x): 2 | return x / 2. 3 | -------------------------------------------------------------------------------- /examples/otherpkg/setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/otherpkg/setup.py -------------------------------------------------------------------------------- /examples/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/requirements.txt -------------------------------------------------------------------------------- /examples/treeshaker.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/examples/treeshaker.cfg -------------------------------------------------------------------------------- /images/treeshaker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/images/treeshaker.png -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/setup.py -------------------------------------------------------------------------------- /tox.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/tox.ini -------------------------------------------------------------------------------- /treeshaker/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/treeshaker/__init__.py -------------------------------------------------------------------------------- /treeshaker/_version.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/treeshaker/_version.py -------------------------------------------------------------------------------- /treeshaker/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/treeshaker/config.py -------------------------------------------------------------------------------- /treeshaker/doc_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/treeshaker/doc_utils.py -------------------------------------------------------------------------------- /treeshaker/pypi_names.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/treeshaker/pypi_names.py -------------------------------------------------------------------------------- /treeshaker/pypi_names.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/treeshaker/pypi_names.txt -------------------------------------------------------------------------------- /treeshaker/setup_utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/treeshaker/setup_utils.py -------------------------------------------------------------------------------- /treeshaker/treeshaker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sclabs/treeshaker/HEAD/treeshaker/treeshaker.py --------------------------------------------------------------------------------