Skip to content

Commit 030abaf

Browse files
author
KimBioInfoStudio
committed
add makefile
1 parent ae91922 commit 030abaf

File tree

4 files changed

+45
-870
lines changed

4 files changed

+45
-870
lines changed

Makefile

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
.PHONY: hlep pre lint install test clean
2+
.DEFAULT: help
3+
help:
4+
@echo "----------------------------------------"
5+
@echo "PyCircos"
6+
@echo "Design For NGS Circos Plot Within Python"
7+
@echo "----------------------------------------"
8+
@echo "make help"
9+
@echo "\tprint this help info to screen"
10+
@echo "make pre"
11+
@echo "\tinstall needed env, use only once"
12+
@echo "make lint"
13+
@echo "\trun pylint to format all file"
14+
@echo "make install"
15+
@echo "\tinstall pycircos"
16+
@echo "make test"
17+
@echo "\trun a test demo"
18+
@echo "make clean"
19+
@echo "\tclean temp cache and unusing file"
20+
pre:
21+
python3 -m pip install -r ./requirements.txt
22+
lint:
23+
python3 -m pip install pylint
24+
python3 -m pylint
25+
install:pre
26+
python3 ./setup.py install
27+
test:
28+
python3 ./test/test.py
29+
clean:
30+
@rm -rf ./build ./dist ./pycircos.egg-info
31+
32+
33+

setup.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def main():
1818
# decsription
1919
with open("README.md", 'r') as md:
2020
long_description = md.read()
21-
setup(name='PyCircos',
21+
setup(name='pycircos',
2222
version='1.0.1',
2323
author='Yunfei Wang, Baochen Yang',
2424
@@ -27,8 +27,8 @@ def main():
2727
keywords="Python NGS Circos Plot",
2828
description=("This Tools is Design for NGS Circos Plot with using Python."),
2929
long_description=long_description,
30-
package_dir={'':'src'},
31-
packages=find_packages('src'),
30+
package_dir={'pycircos':'src'},
31+
packages=['pycircos'],
3232
scripts=[],
3333
ext_modules=[],
3434
classifiers=['Environment :: Console',

0 commit comments

Comments
 (0)