repl.it
@mat1/

okboomer upload

Python

No description

fork
loading
Files
  • main.py
  • build
  • dist
  • okboomer
  • okboomer.egg-info
  • LICENCE
  • pyproject.tmp
  • README.md
  • setup.py
  • Packager files
  • poetry.lock
  • pyproject.toml
  • requirements.txt
main.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import os

def start_upload():
	print('started uploading')
	username = os.getenv('username')
	password = os.getenv('password')

	# os.system('python3 -m pip install --user --upgrade setuptools wheel')
	os.system('python3 setup.py bdist_wheel')
	# os.system('python3 -m pip install --user --upgrade twine')
	os.system(f'python -m twine upload dist/* -u {username} -p {password}')

print('...')

start_upload()