File: setup.py

package info (click to toggle)
kineticstools 0.6.1%2Bgit20200729.e3723e0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 22,144 kB
  • sloc: python: 3,505; makefile: 207; ansic: 104; sh: 55; xml: 19
file content (43 lines) | stat: -rwxr-xr-x 1,294 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from setuptools import setup, Extension, find_packages

test_deps = [
    'pytest',
    'pytest-cov',
    'pytest-xdist',
]

setup(
    name='kineticsTools',
    version='0.7.0',
    author='Pacific Biosciences',
    author_email='devnet@pacificbiosciences.com',
    license='BSD-3-Clause-Clear',
    packages=find_packages(),
    include_package_data=True,
    exclude_package_data={'kineticsTools': ['tree_predict.c']},
    ext_modules=[Extension('kineticsTools/tree_predict', ['kineticsTools/tree_predict.c'],
                           extra_compile_args=['-O3', '-shared', '-std=c99'],
                           extra_link_args=['-lc'],
                           export_symbols=['innerPredict', 'innerPredictCtx', 'init_native'])],
    zip_safe=False,
    entry_points={'console_scripts': [
        'ipdSummary = kineticsTools.ipdSummary:main',
        'summarizeModifications = kineticsTools.summarizeModifications:main',
    ]},
    setup_requires=[
        'pytest-runner',
    ],
    install_requires=[
        'numpy >= 1.17',
        'pbcommand >= 2.0.0',
        'pbcore >= 2.0.0',
        'pyBigWig',
        'scipy >= 1.3',
    ],
    tests_require=test_deps,
    extras_require={'test': test_deps},
    python_requires='>=3.7',
)