Explorar el Código

Specify file to upload via twine

Kentaro Wada hace 6 años
padre
commit
88c7d1dfb4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      setup.py

+ 1 - 1
setup.py

@@ -86,7 +86,7 @@ if sys.argv[1] == 'release':
         'git tag v{:s}'.format(version),
         'git push origin master --tag',
         'python setup.py sdist',
-        'twine upload dist/*.tar.gz',
+        'twine upload dist/labelme-{:s}.tar.gz'.format(version),
     ]
     for cmd in commands:
         subprocess.check_call(shlex.split(cmd))