Explorar el Código

master -> main

Kentaro Wada hace 3 años
padre
commit
c256682f36
Se han modificado 4 ficheros con 7 adiciones y 7 borrados
  1. 4 4
      README.md
  2. 1 1
      github2pypi
  3. 1 1
      labelme/app.py
  4. 1 1
      setup.py

+ 4 - 4
README.md

@@ -9,15 +9,15 @@
 <div align="center">
   <a href="https://pypi.python.org/pypi/labelme"><img src="https://img.shields.io/pypi/v/labelme.svg"></a>
   <a href="https://pypi.org/project/labelme"><img src="https://img.shields.io/pypi/pyversions/labelme.svg"></a>
-  <a href="https://github.com/wkentaro/labelme/actions"><img src="https://github.com/wkentaro/labelme/workflows/ci/badge.svg?branch=master&event=push"></a>
+  <a href="https://github.com/wkentaro/labelme/actions"><img src="https://github.com/wkentaro/labelme/workflows/ci/badge.svg?branch=main&event=push"></a>
   <a href="https://hub.docker.com/r/wkentaro/labelme"><img src="https://img.shields.io/docker/cloud/build/wkentaro/labelme"></a>
 </div>
 
 <div align="center">
   <a href="#installation"><b>Installation</b></a> |
   <a href="#usage"><b>Usage</b></a> |
-  <a href="https://github.com/wkentaro/labelme/tree/master/examples/tutorial#tutorial-single-image-example"><b>Tutorial</b></a> |
-  <a href="https://github.com/wkentaro/labelme/tree/master/examples"><b>Examples</b></a> |
+  <a href="https://github.com/wkentaro/labelme/tree/main/examples/tutorial#tutorial-single-image-example"><b>Tutorial</b></a> |
+  <a href="https://github.com/wkentaro/labelme/tree/main/examples"><b>Examples</b></a> |
   <a href="https://www.youtube.com/playlist?list=PLI6LvFw0iflh3o33YYnVIfOpaO0hc5Dzw"><b>Youtube FAQ</b></a>
 </div>
 
@@ -214,7 +214,7 @@ git clone https://github.com/wkentaro/labelme.git
 cd labelme
 
 # Install anaconda3 and labelme
-curl -L https://github.com/wkentaro/dotfiles/raw/master/local/bin/install_anaconda3.sh | bash -s .
+curl -L https://github.com/wkentaro/dotfiles/raw/main/local/bin/install_anaconda3.sh | bash -s .
 source .anaconda3/bin/activate
 pip install -e .
 ```

+ 1 - 1
github2pypi

@@ -1 +1 @@
-Subproject commit a2a72a6714833f29dfec3473e50b2522c588f942
+Subproject commit f39d3a19cbc3f955cec0644d1d50127467f94770

+ 1 - 1
labelme/app.py

@@ -919,7 +919,7 @@ class MainWindow(QtWidgets.QMainWindow):
         self.actions.undo.setEnabled(self.canvas.isShapeRestorable)
 
     def tutorial(self):
-        url = "https://github.com/wkentaro/labelme/tree/master/examples/tutorial"  # NOQA
+        url = "https://github.com/wkentaro/labelme/tree/main/examples/tutorial"  # NOQA
         webbrowser.open(url)
 
     def toggleDrawingSensitive(self, drawing=True):

+ 1 - 1
setup.py

@@ -110,7 +110,7 @@ def main():
 
         commands = [
             "python tests/docs_tests/man_tests/test_labelme_1.py",
-            "git push origin master",
+            "git push origin main",
             "git tag v{:s}".format(version),
             "git push origin --tags",
             "python setup.py sdist",