Python Project with Google Cloud Source Repo

Assuming Conda and Google Cloud SDK are install, open up command prompt and run following commands:

cd c:\
gcloud source repos create new-project
gcloud source repos clone new-project
cd new-project
conda create -n new-project python=3.7 pandas lxml beautifulsoup4 requests numpy
conda activate new-project
conda install -c conda-forge cookiecutter selenium -y
pip install chromedriver-binary
cookiecutter https://github.com/audreyr/cookiecutter-pypackage
full_name [Audrey Roy Greenfeld]: Ryan S. McCoy
email [audreyr@example.com]: ryan@email.com
github_username [audreyr]: ryansmccoy
project_name [Python Boilerplate]: New Project
project_slug [new_project]:
project_short_description [Python Boilerplate contains all the boilerplate you need to create a Python package.]:
pypi_username [ryansmccoy]:
version [0.1.0]:
use_pytest [n]:
use_pypi_deployment_with_travis [y]:
add_pyup_badge [n]:
Select command_line_interface:
1 - Click
2 - No command-line interface
Choose from 1, 2 (1, 2) [1]: 1
create_author_file [y]: y
Select open_source_license:
1 - MIT license
2 - BSD license
3 - ISC license
4 - Apache Software License 2.0
5 - GNU General Public License v3
6 - Not open source
Choose from 1, 2, 3, 4, 5, 6 (1, 2, 3, 4, 5, 6) [1]: 1
git add .
git commit -m "first commit"

Leave a Reply

Your email address will not be published. Required fields are marked *