-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
41 lines (31 loc) · 1017 Bytes
/
setup.py
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
#!/usr/bin/env python3
# Copyright (c) TeselaGen Biotechnology, Inc. and its affiliates. All Rights Reserved
# License: MIT
"""Setup file for TeselaGen library."""
from __future__ import annotations
from typing import TYPE_CHECKING
from setuptools import find_packages
from setuptools import setup
from teselagen import __version__
from teselagen.utils.setup_commands import SingleTestCommand
if TYPE_CHECKING:
from typing import List
# PATH_ROOT = os.path.dirname(__file__)
# Configuration setuptools
# This are only set for editable mode,
# (https://pip.pypa.io/en/stable/reference/pip_install/#editable-installs),
# as appears that poetry don't have this mode yet
name: str = 'teselagen'
version: str = '0.0.0'
setup_requires: List[str] = ['pytest-runner']
tests_require: List[str] = ['pytest']
setup(
name=name,
version=__version__,
packages=find_packages(),
setup_requires=setup_requires,
tests_require=tests_require,
cmdclass={
'stest': SingleTestCommand,
},
)