Commit Graph
89 Commits
Author SHA1 Message Date
Jason R. Coombs 40da2c6500 Run flake8 with tests. Add flake8 config to ignore common exclusions. Add comments to testing and docs extras to aid with merges. 2018-03-03 13:36:28 -05:00
Jason R. Coombs 41b814aa6c Add workaround for build failures on Python 3.7 (yaml/pyyaml#126). 2018-02-28 09:43:16 -05:00
Jason R. Coombs a8f66602f2 Save the pip cache across builds. Ref pypa/setuptools#1279. 2018-02-20 08:45:54 -05:00
Jason R. Coombs 3902aabd7f Bring back pytest-sugar with a minimum version to support Pytest 3.4. 2018-02-10 13:24:23 -05:00
Jason R. Coombs 34ab781f87 Disable pytest-sugar until Frozenball/pytest-sugar#133 is addressed. 2018-02-01 09:28:53 -05:00
Jason R. Coombs b9aba822c7 Use tox-venv for future compatibility. 2018-01-29 09:06:00 -05:00
Jason R. Coombs bbc018de3c Need to avoid .eggs in recursing dirs. Ref pypa/setuptools_scm#212. 2018-01-26 11:59:01 -05:00
Jason R. Coombs 99d850f0ed To support namespace packages, Setuptools must be 31.0.1. This change is necessary with the adoption of tox-venv, which uses Python's venv, which does not install the latest setuptools by default. 2018-01-17 09:55:12 -05:00
Jason R. Coombs 6365965369 Run only default environment by default. 2018-01-03 15:34:05 -05:00
Jason R. Coombs 97c492d425 Add build-docs env in tox. 2018-01-02 19:32:38 -05:00
Jason R. Coombs dd475b7ad1 Use https 2018-01-02 19:32:19 -05:00
Jason R. Coombs b4b4c11168 reference the license file in metadata 2017-11-16 15:45:57 -05:00
Jason R. Coombs ce5e0eb6ef Correct travis syntax 2017-11-16 13:17:16 -05:00
Jason R. Coombs 99622ab0e3 Declare 'python' factor at top level 2017-11-15 10:26:38 -05:00
Jason R. Coombs 6c36336e9f Normalize indentation in docs/conf.py 2017-11-13 09:14:44 -05:00
Jason R. Coombs 34958ccc94 Add documentation badge. 2017-10-17 19:47:02 -04:00
Jason R. Coombs d149ed4d5d Remove downloads shield, no longer available. 2017-10-16 12:13:14 -04:00
Jason R. Coombs 5dc924c102 Add a license file. Fixes jaraco/skeleton#1. 2017-09-26 12:02:52 +01:00
Jason R. Coombs a953d1baa6 --add doesn't work in a list 2017-09-21 16:36:17 -04:00
Jason R. Coombs a419524c69 Remove 'bootstrap', artifact from setuptools 2017-09-19 19:46:21 -04:00
Jason R. Coombs 835393c93e Use stages in travis to have deployment depend on success in all Python versions. 2017-09-18 18:05:16 -04:00
Jason R. Coombs 88d315ae9a Check the docs during tests 2017-09-13 04:24:11 -04:00
Jason R. Coombs 250cb96002 Inspired by pypa/setuptools#1059, use the preferred bdist_wheel heading. 2017-08-26 15:35:09 -04:00
Jason R. Coombs 16d68a9fd1 Restore support for namespace package declaration, selected on a 'nspkg_technique' setting 2017-08-14 08:14:57 -04:00
Jason R. Coombs 31fb9d19ee Use a simple build number rather than prefixing with '1.0.' 2017-06-04 14:02:51 -04:00
Jason R. Coombs c84284022a Remove namespace_packages declaration, no longer needed. 2017-05-12 21:42:53 -04:00
Jason R. Coombs 110cb56c59 Require tox 2.4 or later; fixes #2. 2017-04-28 19:21:53 -04:00
Jason R. Coombs 3383a3aceb Add appveyor script for CI testing on Windows. 2017-04-26 10:29:35 -04:00
Jason R. Coombs 243e44fdb7 Move requirements for docs and testing into extras 2017-04-21 12:40:43 -04:00
Jason R. Coombs fbe7cb7fa1 Add readthedocs yml file 2017-04-21 12:21:45 -04:00
Jason R. Coombs 23dae906a2 The requirement is no longer needed for tests. 2017-03-30 20:41:18 -04:00
Jason R. Coombs 689f700fcf Use single-quotes to satisfy the style nazis. 2017-03-30 04:43:46 -04:00
Jason R. Coombs 908cf4ad0e Rely on jaraco.packaging for loading the package metadata from the package for Sphinx. 2017-03-30 04:42:12 -04:00
Jason R. Coombs b9bcd86948 Include pytest-sugar for nicer test output. 2017-03-29 14:40:02 -04:00
Jason R. Coombs 049284c6c4 Include the project (for docstrings). Include Sphinx (for environments where it's not an implied provision). 2017-03-29 14:39:02 -04:00
Jason R. Coombs 59c37d70f1 Don't bother with copyright year(s). Let the repository history track the changes and copyright years. YAGNI. 2017-03-29 14:36:54 -04:00
Jason R. Coombs b728c5892b Add python_requires directive. 2017-03-12 13:33:19 -04:00
Jason R. Coombs e690b031cc Set the origin date once and forget it. 2017-02-09 12:29:49 -05:00
Jason R. Coombs ee0d8647d8 Add support for Python 2.6 in docs conf 2017-01-24 20:59:15 -05:00
Jason R. Coombs 21a4e86e6f Add PEP substitution in changelog. 2017-01-23 07:10:36 -05:00
Jason R. Coombs 9f6eea591e No longer rely on setup_requires for wheel. 2017-01-19 11:13:08 -05:00
Jason R. Coombs 746dd7999f Use Python 3.6 by default 2017-01-17 19:56:28 -05:00
Jason R. Coombs 5853c7e7e7 setup is already present in the module name. Just call them params. 2017-01-05 09:31:05 -05:00
Jason R. Coombs 84b53d9052 Default upload URL is now in Python 3.6. Use that. 2017-01-02 15:54:14 -05:00
Jason R. Coombs b1133de832 Strip the trailing newline and then split on newline. 2016-12-23 08:57:20 -05:00
Jason R. Coombs b2c592d84b Also grab the author from the package metadata 2016-12-23 08:47:03 -05:00
Jason R. Coombs fbadf0344d Also get the URL from the project metadata 2016-12-23 08:44:55 -05:00
Jason R. Coombs 3da8cf4a6f No longer rely on the package being installed to retrieve the version. Instead, load the project name and version by invoking the setup script. 2016-12-23 08:42:35 -05:00
Jason R. Coombs 6245d0966d Prefer get_distribution 2016-12-23 08:28:03 -05:00
Jason R. Coombs 99ffa27f0e Remove rant about docs. If there's no link to the docs, then this is the docs. 2016-12-23 08:25:01 -05:00
Jason R. Coombs a50fb1c894 Skip upload docs as it's deprecated anyway 2016-12-15 14:40:27 -05:00
Jason R. Coombs 18cb65f8f1 Add note about the broken docs problem. 2016-11-04 10:16:12 -04:00
Jason R. Coombs 4ee40ca2d1 Update config to support building on ReadTheDocs 2016-11-04 09:49:30 -04:00
Jason R. Coombs 200e6a5251 Bump to setuptools_scm 1.15.0. 2016-10-24 10:07:33 -04:00
Jason R. Coombs 95fd34c61f Gotta get an sdist - so use one jaraco built 2016-10-20 17:13:15 -04:00
Jason R. Coombs 42ecbe7706 Update to setuptools_scm 1.15.0rc1 2016-10-20 15:38:47 -04:00
Jason R. Coombs 60c7c186c1 Need a later version of setuptools_scm until it's released. 2016-10-15 20:16:20 -04:00
Jason R. Coombs aa1f8ebe0d Allow passing posargs 2016-10-14 23:03:42 -04:00
Jason R. Coombs 9be6e61593 Exclude versions of setuptools_scm due to pypa/setuptools_scm#109. 2016-10-14 21:40:51 -04:00
Jason R. Coombs 1d7afbebd6 Just upgrade to released setuptools now. 2016-10-07 12:16:38 -07:00
Jason R. Coombs 9698407222 Incorporate pre-release of setuptools to cause releases to include the PEP-420 deferral. 2016-10-02 09:28:19 -05:00
Jason R. Coombs c4fd3f3cf4 Use usedevelop to workaround tox-dev/tox#373 2016-09-30 16:14:13 -04:00
Jason R. Coombs 12196ba3c3 Provide a reference to the license declaration in the readme. Fixes jaraco/skeleton#1. 2016-09-30 15:52:25 -04:00
Jason R. Coombs 4d382b3dee Python Packaging -- never do with one command what you can do with two. 2016-09-28 12:29:05 -04:00
Jason R. Coombs 8b4139a813 Each requirement line is passed as a single parameter to pip, so you can't have a space separating the option and its value. 2016-09-23 10:08:41 -05:00
Jason R. Coombs cc80be915b Use pkg_resources to resolve the version. Requires that the necessary package metadata have been built before building docs. 2016-09-23 10:07:39 -05:00
Jason R. Coombs 750a2b3896 Use tox instead of pytest-runner 2016-09-22 10:50:07 -05:00
Jason R. Coombs 03c1cc8684 Remove support for building docs, now that docs support for pypi is deprecated. I hope at some point RTD comes up with an API that once again allows automatic building of docs. 2016-09-14 21:00:50 -04:00
Jason R. Coombs 629d80f45d No need for a .gitignore file; projects may want to add one, but I recommend not having one unless the project has project-specific files to ignore. 2016-09-04 13:06:52 -04:00
Jason R. Coombs d024388cac The name of the project need not be in the README 2016-08-15 09:51:41 -04:00
Jason R. Coombs 7edaa321de Update release process to use warehouse rather than legacy PyPI. Ref pypa/warehouse#1422. 2016-08-09 09:50:49 -04:00
Jason R. Coombs dfb1a9424d Path is now .org 2016-08-08 14:49:32 -04:00
Jason R. Coombs 3f61a73b65 Also add pyversions 2016-08-03 10:13:55 -04:00
Jason R. Coombs c8c034e688 Use shields.io, as some of these other providers seem to have gone out of business. 2016-08-03 10:07:15 -04:00
Jason R. Coombs e2900e901e Change indentation to match that which the travis tool generates when adding the password. 2016-08-03 09:54:22 -04:00
Jason R. Coombs efa552e7ee Add badges for PyPI, downloads, and Travis-CI. 2016-08-03 09:51:36 -04:00
Jason R. Coombs b93b3a0348 Exclude the skeleton branch from testing 2016-05-24 12:21:58 -04:00
Jason R. Coombs 29d9ebee01 Update comment to reflect the Github-backed skeleton model (preferred to the generation library-backed model). 2016-04-29 09:32:33 -04:00
Jason R. Coombs 04528bdf29 Move Python 3.5 condition to 'on' section 2016-04-16 15:22:52 +01:00
Jason R. Coombs 01e953bac9 Add support for linking to issues and adding datestamps to changelog entries. 2016-04-02 22:23:15 -04:00
Jason R. Coombs 58f71d1e2b Remove duplicate provider line 2016-04-02 22:03:05 -04:00
Jason R. Coombs 752b1096b8 Add PyPI deployment 2016-04-02 21:46:39 -04:00
Jason R. Coombs 65b649869b Derive description, url, and namespace_packages from name 2016-03-05 08:56:02 -05:00
Jason R. Coombs b5982a5472 Learning from lessons in the keyring 8.4 release (https://github.com/jaraco/keyring/issues/210), always clean the build artifacts before cutting a release. 2016-02-15 04:59:44 -05:00
Jason R. Coombs 6d571b47f8 Update copyright 2016-01-01 09:03:11 -05:00
Jason R. Coombs 8277707492 Upon further reading, hg-git supports .gitignore, so omit .hgignore. 2016-01-01 08:35:39 -05:00
Jason R. Coombs 5782d0536e Add gitignore. Make .hgignore empty - there's nothing here that's project specific. 2016-01-01 08:30:19 -05:00
Jason R. Coombs 52df9f0ff9 Remove the package from the skeleton. It has no value. 2015-12-26 08:46:57 -05:00
Jason R. Coombs 5ad18328e8 Generate project skeleton 2015-12-19 22:29:56 -05:00