-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
36 lines (29 loc) · 827 Bytes
/
Copy pathsetup.py
File metadata and controls
36 lines (29 loc) · 827 Bytes
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
import os
import pathlib
from setuptools import setup, find_packages
import subprocess
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open("requirements.txt") as f:
requirements = f.read().splitlines()
from distutils.command.build import build
class CustomBuild(build):
def run(self):
build.run(self)
subprocess.call(["make", "-C", "fqcounter"])
setup(
name="bulktools",
description="Python package running bulk pipeline",
version='0.2',
setup_requires=["setuptools"],
package_dir={"bulktools": "bulktools"},
packages=find_packages(),
include_package_data=True,
install_requires=requirements,
cmdclass={
"build": CustomBuild,
},
entry_points={
'console_scripts': ['bt=bulktools.pipeline:main'],
},
)