Skip to content

Commit ae91922

Browse files
author
KimBioInfoStudio
committed
remove python2 all
1 parent a5d2e37 commit ae91922

File tree

19 files changed

+129
-562
lines changed

19 files changed

+129
-562
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -4,26 +4,24 @@ on: [push]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
98
strategy:
109
max-parallel: 1
1110
matrix:
12-
python-version: [2.7,3.5, 3.6, 3.7]
11+
python-version: [3.5, 3.6, 3.7]
1312

1413
steps:
15-
- uses: actions/checkout@v1
16-
- name: Set up Python ${{ matrix.python-version }}
17-
uses: actions/setup-python@v1
18-
with:
19-
python-version: ${{ matrix.python-version }}
20-
- name: Install dependencies
21-
run: |
22-
python -m pip install --upgrade pip
23-
pip install -r requirements.txt
24-
- name: Test with demo file
25-
run: |
26-
python setup.py install
27-
cd demo
28-
python ./test.py
29-
14+
- uses: actions/checkout@v1
15+
- name: Set up Python ${{ matrix.python-version }}
16+
uses: actions/setup-python@v1
17+
with:
18+
python-version: ${{ matrix.python-version }}
19+
- name: Install dependencies
20+
run: |
21+
python -m pip install --upgrade pip
22+
pip install -r requirements.txt
23+
- name: Test with demo file
24+
run: |
25+
python setup.py install
26+
cd test
27+
python ./test.py

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
## ubuntu xenial need for Python >= 3.7
2-
dist: xenial
2+
dist: xenial
33
# Disable sudo to speed up the build
44
sudo: false
55

66
# Set the build language to Python
77
language: python
88

9-
# Set the python version to 2.7
9+
# Set the python version to 3.7
1010
python: 3.7
1111

1212
# Install the codecov pip dependency
1313
install:
1414
- pip install -r ./requirements.txt
15-
- pip install codecov
15+
- pip install codecov
1616
- python setup.py install
1717

1818
# Run the unit test
1919
script:
2020
- export CODECOV_TOKEN="e00c5f99-4f96-4cae-9bbc-d77668302050"
21-
- cd demo
21+
- cd test
2222
- coverage run ./test.py
2323

2424
# Push the results back to codecov

MANIFEST.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

README.md

Lines changed: 45 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,59 @@
1-
### Python Modules for Circos Plot
1+
# Python Modules for Circos Plot
22

33
![travis-ci](https://www.travis-ci.org/KimBioInfoStudio/PyCircos.svg?branch=develop)
44
![codecov](https://codecov.io/gh/KimBioInfoStudio/PyCircos/branch/develop/graph/badge.svg)
55
![PyPI - Wheel](https://img.shields.io/pypi/wheel/yes.svg)
66
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/python2.svg)
77

8-
1. Prerequisition
9-
As official, Pyhton2.7 will not support form 2020-1-1,So we develop a new version support Python3.4+ ,
10-
We deeply recommand all users using the python version 3.4+ Thx for yr
11-
12-
- Python 2.7 packages (automatically installed)
13-
- numpy >= 1.13.1
14-
- pandas >= 0.15.2
15-
- matplotlib == 2.0.2 (matplotlib stop support python2.7 form version 2.0 )
16-
17-
18-
- Python 3.4+ packages(automatically installed)
19-
20-
- numpy >= 1.13.1
21-
- pandas >= 0.15.2
22-
- matplotlib >= 2.0.2
23-
24-
25-
2. Installation
26-
- intall dev branch
27-
28-
```
29-
git clone https://github.com/KimBioInfoStudio/PyCircos.git
30-
cd Pycircos
31-
pip install -r requirements.txt
32-
python setup.py install [--user]
33-
```
34-
or with using 'make'
35-
```
36-
make pre-install
37-
make install
38-
make test
39-
```
40-
- install release branch
41-
```
42-
pip install pycircos
43-
```
44-
45-
3. Examples
8+
## 1.Pre Installation
9+
10+
> As official, Pyhton2 will end life form 2020-1-1, So we develop a new version support Python3.5+, We deeply recommand all users using the python version 3.5+, Thx!
11+
12+
### Python 3.5+ packages(automatically installed)
13+
14+
1. numpy
15+
2. pandas
16+
3. matplotlib
17+
18+
19+
## 2.Installation
20+
### intall dev branch
21+
22+
1. install from source code
23+
24+
```
25+
git clone https://github.com/KimBioInfoStudio/PyCircos.git
26+
cd PyCircos
27+
pip install -r requirements.txt
28+
python3 setup.py install [--user]
29+
```
30+
31+
2. or install form source code with using 'make'
32+
33+
```
34+
git clone https://github.com/KimBioInfoStudio/PyCircos.git
35+
cd PyCircos
36+
make
37+
make install
38+
```
4639

40+
3. install release branch
4741

4842
```
49-
cd demo
50-
python run_circos.py run
51-
display Circos.pdf
43+
pip install pycircos
5244
```
53-
4. Demo Results
45+
46+
## 3. Examples
47+
### command
5448

55-
![](./demo.png)
49+
```
50+
cd ./test/
51+
python3 test.py
52+
open ./demo.png
53+
```
54+
### results
55+
56+
![](./test/demo.png)
5657

5758

5859

README.rst

Lines changed: 0 additions & 38 deletions
This file was deleted.

RELEASE

Lines changed: 0 additions & 3 deletions
This file was deleted.

demo.png

-152 KB
Binary file not shown.

demo/Circos.pdf

-3.06 MB
Binary file not shown.

demo/Circos3.pdf

-3.06 MB
Binary file not shown.

install.sh

Lines changed: 0 additions & 57 deletions
This file was deleted.

0 commit comments

Comments
 (0)