-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathsetup.py
34 lines (26 loc) · 877 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
from __future__ import print_function
import os
import sys
import subprocess
import shutil
try:
import setuptools
except ImportError:
sys.exit("setuptools package not found. "
"Please use 'pip install setuptools' first")
from setuptools import setup
# Make sure we're running from the setup.py directory.
script_dir = os.path.dirname(os.path.realpath(__file__))
if script_dir != os.getcwd():
os.chdir(script_dir)
from hapdup.__version__ import __version__
setup(name="hapdup",
version=__version__,
description="Pipeline to convert a haploid assembly into diploid",
url="https://github.com/fenderglass/HapDup",
author="Mikhail Kolmogorov",
author_email = "[email protected]",
license="BSD-3-Clause",
packages=["hapdup"],
entry_points={"console_scripts": ["hapdup = hapdup.main:main"]}
)