Skip to main content

This package creates a framework for python packages to be built.

Project description

# pypi starter project

[![Build Status](https://travis-ci.org/wuhaifengdhu/pypi-starter.svg?branch=master)](https://travis-ci.org/wuhaifengdhu/pypi-starter)
[![codecov](https://codecov.io/gh/wuhaifengdhu/pypi-starter/branch/master/graph/badge.svg)](https://codecov.io/gh/wuhaifengdhu/pypi-starter)

This is a template repository that you can use to quickly create a python application that can be built, tested, and released as an internal python module.

## Setting up a new repository from this template
**Create a directory and pull all the files in this template into it**

```bash
mkdir new_repo_name
cd new_repo_name
git init
git pull https://github.com/wuhaifengdhu/pypi-starter
```

## Build

*Linux*

```bash
virtualenv env
. env/bin/activate
pip install -e .
```

*Windows*
```bash
virtualenv env
env\Scripts\activate
pip install -e .
```

## Tox Tests and Build the Wheels

```
pip install -r requirements-build.txt
# run the python tests
tox -r
```

## upload to pypi
* Register your account in ![pypi](https://pypi.org/)
* Create file .pypirc in your home folder with 600.
```[distutils]
index-servers =
pypi
pypitest

[pypi]
repository=https://upload.pypi.org/legacy/
username=your_username
password=your_password

[pypitest]
repository=https://test.pypi.org/legacy/
username=your_username
password=your_password
```
* Upload your repository
```
Python setup.py bidet_wheel —universal
Twine upload dist/*
```





Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

devin-1.0.0-py2.py3-none-any.whl (40.6 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file devin-1.0.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for devin-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8413e18ef3dba4c8af05811770096c6020c0d9ef016624fb853326d5d9219116
MD5 e4289a8e4827d1d28a13e1f3e4b4d2cd
BLAKE2b-256 8b082642a09d532cc5b1cffb45f1e5741af19e1863392fdc8405125e879ba3bd

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page