Skip to content
This repository has been archived by the owner on Nov 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #3 from AnnaliseAI/feature/Issue1
Browse files Browse the repository at this point in the history
Feature/issue1
  • Loading branch information
doc-E-brown authored Dec 3, 2020
2 parents 4621b7d + a0a0361 commit ab790a6
Show file tree
Hide file tree
Showing 31 changed files with 627 additions and 260 deletions.
13 changes: 0 additions & 13 deletions .buildkite/pipeline.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ parallel = true

[paths]
source =
s3pkgup
pips3

[report]
precision = 2
include =
s3pkgup/*.py
pips3/*.py
exclude_lines =
def __str__
pragma: no cover
Expand Down
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## v0.1
## [0.1.0] - 27-10-2020
### Added
* First release into pypi
* Removed annalise.ai specific details
* Improved test coverage
* Configuration via environment variables

5 changes: 2 additions & 3 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
include README.rst
include versioneer.py
include s3pkgup/_version.py
include s3pkgup/data/index.html.j2
include pips3/_version.py

recursive-include tests *
recursive-exclude tests *
recursive-exclude * __pycache__
recursive-exclude * *.py[co]

Expand Down
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ clean-test: ## remove test and coverage artifacts
rm -fr .pytest_cache

lint: ## check style with flake8
flake8 s3pkgup tests
flake8 pips3 tests

test: ## run tests quickly with the default Python
pytest
Expand All @@ -60,15 +60,15 @@ test-all: ## run tests on every Python version with tox
tox

coverage: ## check code coverage quickly with the default Python
coverage run --source s3pkgup -m pytest
coverage run --source pips3 -m pytest
coverage report -m
coverage html
$(BROWSER) htmlcov/index.html

docs: ## generate Sphinx HTML documentation, including API docs
rm -f docs/s3pkgup.rst
rm -f docs/pips3.rst
rm -f docs/modules.rst
sphinx-apidoc -o docs/ s3pkgup
sphinx-apidoc -o docs/ pips3
$(MAKE) -C docs clean
$(MAKE) -C docs html
$(BROWSER) docs/_build/html/index.html
Expand Down
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# pips3

Python Boilerplate contains all the boilerplate you need to create a Python package.

## Features

* TODO

### Credits

This package was created with [Cookiecutter(https://github.com/audreyr/cookiecutter) and the [annalise.ai cookiecutter](https://github.com/AnnaliseAI/pythonpackagecookie) project template.
18 changes: 0 additions & 18 deletions README.rst

This file was deleted.

26 changes: 13 additions & 13 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# s3pkgup documentation build configuration file, created by
# pips3 documentation build configuration file, created by
# sphinx-quickstart on Fri Jun 9 13:47:02 2017.
#
# This file is execfile()d with the current directory set to its
Expand All @@ -22,7 +22,7 @@
import sys
sys.path.insert(0, os.path.abspath('..'))

import s3pkgup
import pips3

# -- General configuration ---------------------------------------------

Expand Down Expand Up @@ -63,7 +63,7 @@ def setup(app):
master_doc = 'index'

# General information about the project.
project = u's3pkgup'
project = u'pips3'
copyright = u"2020, Ben Johnston"
author = u"Ben Johnston"

Expand All @@ -72,9 +72,9 @@ def setup(app):
# the built documents.
#
# The short X.Y version.
version = s3pkgup.__version__
version = pips3.__version__
# The full version, including alpha/beta/rc tags.
release = s3pkgup.__version__
release = pips3.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down Expand Up @@ -117,7 +117,7 @@ def setup(app):
# -- Options for HTMLHelp output ---------------------------------------

# Output file base name for HTML help builder.
htmlhelp_basename = 's3pkgupdoc'
htmlhelp_basename = 'pips3doc'


# -- Options for LaTeX output ------------------------------------------
Expand All @@ -144,8 +144,8 @@ def setup(app):
# (source start file, target name, title, author, documentclass
# [howto, manual, or own class]).
latex_documents = [
(master_doc, 's3pkgup.tex',
u's3pkgup Documentation',
(master_doc, 'pips3.tex',
u'pips3 Documentation',
u'Ben Johnston', 'manual'),
]

Expand All @@ -155,8 +155,8 @@ def setup(app):
# One entry per manual page. List of tuples
# (source start file, name, description, authors, manual section).
man_pages = [
(master_doc, 's3pkgup',
u's3pkgup Documentation',
(master_doc, 'pips3',
u'pips3 Documentation',
[author], 1)
]

Expand All @@ -167,10 +167,10 @@ def setup(app):
# (source start file, target name, title, author,
# dir menu entry, description, category)
texinfo_documents = [
(master_doc, 's3pkgup',
u's3pkgup Documentation',
(master_doc, 'pips3',
u'pips3 Documentation',
author,
's3pkgup',
'pips3',
'One line description of project.',
'Miscellaneous'),
]
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Welcome to s3pkgup's documentation!
Welcome to pips3's documentation!
============================================================

.. toctree::
Expand Down
16 changes: 8 additions & 8 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ Installation
Stable release
--------------

To install s3pkgup, run this command in your terminal:
To install pips3, run this command in your terminal:

.. code-block:: console
$ pip install s3pkgup
$ pip install pips3
This is the preferred method to install s3pkgup, as it will always install the most recent stable release.
This is the preferred method to install pips3, as it will always install the most recent stable release.

If you don't have `pip`_ installed, this `Python installation guide`_ can guide
you through the process.
Expand All @@ -26,19 +26,19 @@ you through the process.
From sources
------------

The sources for s3pkgup can be downloaded from the `Bitbucket repo`_.
The sources for pips3 can be downloaded from the `Bitbucket repo`_.

You can either clone the public repository:

.. code-block:: console
$ git clone git://bitbucket.org/harrison-ai/s3pkgup
$ git clone git://bitbucket.org/harrison-ai/pips3
Or download the `tarball`_:

.. code-block:: console
$ curl -OJL https://bitbucket.org/harrison-ai/s3pkgup/downloads
$ curl -OJL https://bitbucket.org/harrison-ai/pips3/downloads
Once you have a copy of the source, you can install it with:

Expand All @@ -47,5 +47,5 @@ Once you have a copy of the source, you can install it with:
$ python setup.py install
.. _Bitbucket repo: https://bitbucket.org/harrison-ai/s3pkgup
.. _tarball: https://bitbucket.org/harrison-ai/s3pkgup/downloads
.. _Bitbucket repo: https://bitbucket.org/harrison-ai/pips3
.. _tarball: https://bitbucket.org/harrison-ai/pips3/downloads
2 changes: 1 addition & 1 deletion docs/make.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ if "%SPHINXBUILD%" == "" (
)
set SOURCEDIR=.
set BUILDDIR=_build
set SPHINXPROJ=s3pkgup
set SPHINXPROJ=pips3

if "%1" == "" goto help

Expand Down
4 changes: 2 additions & 2 deletions docs/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Usage
=====

To use s3pkgup in a project::
To use pips3 in a project::

import s3pkgup
import pips3
12 changes: 12 additions & 0 deletions pips3/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# -*- coding: utf-8 -*-
"""Top-level package for pips3."""

__author__ = """Ben Johnston"""
__email__ = 'ben.johnston@annalise.ai'

from ._version import get_versions

__version__ = get_versions()['version']
del get_versions

from pips3.base import PipS3, publish_packages
File renamed without changes.
Loading

0 comments on commit ab790a6

Please sign in to comment.