Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
nh13 committed Dec 16, 2024
1 parent 2bd5f12 commit 3a969a4
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 4 deletions.
25 changes: 25 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,18 @@ def cythonize_helper(extension_modules: List[Extension]) -> List[Extension]:
force=True,
)

CLASSIFIERS = '''
Development Status :: 4 - Beta
Intended Audience :: Science/Research
Intended Audience :: Developers
License :: OSI Approved
Programming Language :: Python
Topic :: Software Development
Topic :: Scientific/Engineering
Operating System :: POSIX
Operating System :: Unix
Operating System :: MacOS
'''


def build():
Expand All @@ -64,6 +76,19 @@ def build():

# Use Setuptools to collect files
distribution = Distribution({
"name": "bwapy",
'version': '0.0.1', # FIXME
'description': 'Todo', # FIXME
'long_description': 'FIXME',
'long_description_content_type': 'text/x-rst',
'author': 'Nils Homer',
'author_email': '[email protected]',
'license': 'MIT',
'platforms': ['POSIX', 'UNIX', 'MacOS'],
'classifiers': [_f for _f in CLASSIFIERS.split('\n') if _f],
'url': 'https://github.com/fulcrumgenomics/bwapy',
'packages': ['bwapy'],
'package_dirs': {'bwapy': 'bwapy'},
"ext_modules": extension_modules,
"cmdclass": {
"build_ext": cython_build_ext,
Expand Down
4 changes: 4 additions & 0 deletions bwapy/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import bwapy.libbwapy as libbwapy
from bwapy.libbwapy import * # noqa: F403

__all__ = libbwapy
8 changes: 4 additions & 4 deletions tests/test_bwapy.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
import pytest
from pysam import FastxRecord

from bwapy.libbwapy import BwaAln
from bwapy.libbwapy import BwaAlnOptions
from bwapy.libbwapy import BwaAlnOptionsBuilder
from bwapy.libbwapy import BwaIndex
from bwapy import BwaAln
from bwapy import BwaAlnOptions
from bwapy import BwaAlnOptionsBuilder
from bwapy import BwaIndex


@pytest.fixture()
Expand Down

0 comments on commit 3a969a4

Please sign in to comment.