Skip to content

Commit

Permalink
Better packaging; Fix #69; Fix #81
Browse files Browse the repository at this point in the history
  • Loading branch information
inumanag committed Nov 1, 2024
1 parent 9c047bd commit 44a7ab9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 41 deletions.
19 changes: 19 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
include *.rst
include aldy/resources/*.rst
include aldy/resources/genes/*.yml
include aldy/resources/genes/pharmacoscan/*.yml
include aldy/resources/profiles/*.yml
include aldy/tests/resources/*.json
include aldy/tests/resources/*.bam
include aldy/tests/resources/*.bai
include aldy/tests/resources/*.expected
include aldy/tests/resources/*.yml
include aldy/tests/resources/*.profile
include aldy/tests/resources/*.hg38
include aldy/tests/resources/*.vcf
include aldy/tests/resources/*.gz
include aldy/tests/resources/*.tbi
include aldy/indelpost/*.pyx
include aldy/indelpost/*.pxd
include aldy/indelpost/ssw.h
include aldy/indelpost/sse2neon.h
42 changes: 1 addition & 41 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,47 +96,7 @@
],
entry_points={"console_scripts": ["aldy = aldy.__main__:console"]},
packages=find_packages(),
package_data={
"aldy.resources": ["*.rst", "aldy/resources/*.rst"],
"aldy.resources.genes": [
"*.yml",
"aldy/resources/genes/*.yml",
"aldy/resources/genes/pharmacoscan/*.yml",
],
"aldy.resources.profiles": ["*.yml", "aldy/resources/profiles/*.yml"],
"aldy.tests.resources": [
"*.json",
"aldy/tests/resources/*.json",
"*.bai",
"aldy/tests/resources/*.bai",
"*.bam",
"aldy/tests/resources/*.bam",
"*.expected",
"aldy/tests/resources/*.expected",
"*.yml",
"aldy/tests/resources/*.yml",
"aldy/tests/resources/pharmacoscan/*.yml",
"*.profile",
"aldy/tests/resources/*.profile",
"*.hg38",
"aldy/tests/resources/*.hg38",
"*.vcf",
"aldy/tests/resources/*.vcf",
"*.gz",
"aldy/tests/resources/*.gz",
"*.tbi",
"aldy/tests/resources/*.tbi",
],
"aldy.indelpost": [
"*.pyx",
"aldy/indelpost/*.pyx",
"*.pxd",
"aldy/indelpost/*.pxd",
"*.h",
"aldy/indelpost/ssw.h",
"aldy/indelpost/sse2neon.h",
],
},
include_package_data=True,
cmdclass={"build_ext": build_ext},
ext_modules=cythonize(extensions, compiler_directives={"language_level": "3"}),
test_suite="pytest-runner",
Expand Down

0 comments on commit 44a7ab9

Please sign in to comment.