Skip to content

Commit

Permalink
Setup architecture overhaul (#176)
Browse files Browse the repository at this point in the history
* Switched from Travis to Cirrus. Updated requirements architecture.

* Switched from coveralls to codecov.

* Cirrus download mambaforge during populate rather than fingerprint step.

* Cirrus test.

* Revert "Cirrus test."

This reverts commit 3347645.

* Revert "Cirrus download mambaforge during populate rather than fingerprint step."

This reverts commit 78a85ad.

* Setup architecture overhaul.

* Ignore __version__ for linting.

* Update licence header.

* Don't include setup_requires in setup.cfg.

* Transfer coverage rc into pyproject.toml.

* setup.py use Pathlib.

* Remove .stickler.yml.

* Boolean for coverage pyproject.toml.

* List for coverage pyproject.toml.

* Give Codecov some tolerance.
  • Loading branch information
trexfeathers authored Jun 18, 2021
1 parent 7f6cde4 commit 9cb6680
Show file tree
Hide file tree
Showing 12 changed files with 268 additions and 2,725 deletions.
25 changes: 0 additions & 25 deletions .coveragerc

This file was deleted.

162 changes: 137 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,38 +1,150 @@
*.py[co]

# Packages
*.egg
*.egg-info
dist
build
eggs
parts
bin
var
sdist
develop-eggs
.installed.cfg

# Installer logs
pip-log.txt

#shared objects
*.so

# cf_units build files
cf_units/_udunits2.so
cf_units/_udunits2.pyd
cf_units/_udunits2.c

#config
# Config
cf_units/etc/site.cfg

# Directory-based project format
.idea/

# Created by editors
*~
\#*
\.\#*
*.swp

# setuptools-scm
_version.py

# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
bin/
sdist/
var/
wheels/
pip-wheel-metadata/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.eggs
.pytest_cache
.idea
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
# However, in case of collaboration, if having platform-specific dependencies or dependencies
# having no cross-platform support, pipenv may install dependencies that don't work, or not
# install all needed dependencies.
#Pipfile.lock

# PEP 582; used by e.g. github.com/David-OConnor/pyflow
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid

# SageMath parsed files
*.sage.py

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/
8 changes: 0 additions & 8 deletions .stickler.yml

This file was deleted.

1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ include *.md
recursive-include cf_units *.py *.pxd *.pyx *.c
include cf_units/etc/site.cfg.template
include CHANGES COPYING COPYING.LESSER INSTALL
include versioneer.py
exclude cf_units/etc/site.cfg
6 changes: 1 addition & 5 deletions cf_units/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@
from cf_units._udunits2 import (UT_ASCII, UT_ISO_8859_1, UT_LATIN1, UT_UTF8,
UT_NAMES, UT_DEFINITION)


# Define __version__ based on versioneer's interpretation.
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
from ._version import version as __version__ # noqa: F401

__all__ = ['CALENDAR_STANDARD',
'CALENDAR_GREGORIAN',
Expand Down
Loading

0 comments on commit 9cb6680

Please sign in to comment.