Commit Graph

13 Commits

Author SHA1 Message Date
Joshua Bronson 79baf860b7 Use pyproject.toml instead of setup.py, etc.
* Ditch setup.py in favor of setuptools' PEP 621 support. Ref:
  https://setuptools.pypa.io/en/latest/userguide/pyproject_config.html

* Declare development dependencies in pyproject.toml rather than
  requirements/*.in

* Ditch pip-compile-multi which does not support sourcing deps from pyproject.toml

* Compile dependencies into dev-deps/*.txt rather than requirements/*.txt

* Don't include development-related files in the sdist or wheel.

* Drop less important bidict.metadata attributes
  (__maintainer__, __email__, __status__, __keywords__, __project_urls__)
  and make __author__ a dictionary with "name" and "email" keys
  to match the standard format in pyproject.toml.
2022-12-04 21:20:15 -05:00
Joshua Bronson 55204e7b5f Upgrade dev dependencies. 2022-12-04 21:19:19 -05:00
Joshua Bronson 9441bb2e8c rm defunct .LICENSE_HEADER 2022-01-14 11:12:24 -05:00
Joshua Bronson 8c161ca64c Improve installation, dev, and release tooling.
* Switch from install-extras to requirements.in + pip-tools for
  deterministic installation of dependencies.

* Do not use the isolated pre-commit environment for the pylint
  hook as per
  https://github.com/pre-commit/pre-commit/issues/813#issuecomment-413220498.

* Use setuptools_scm's new parentdir_prefix_version feature to fix #115.
  See pypa/setuptools_scm#477.

* Drop sphinx_autodoc_typehints; use equivalent functionality now built
  into Sphinx.
2020-11-28 10:09:31 -05:00
jab aaeff8c906 Fix py.typed missing from distributions, prepare for v0.21.2 release.
Also update MANIFEST.in
and remove logo.pxm.
2020-09-07 12:06:10 -04:00
Igor Nehoroshev 8dcdf2a391 Add py.typed file to mark package as annotated (PEP 561) 2020-09-07 10:21:48 -04:00
jab d57acfbe9a add pyproject.toml to manifest, distribute wheels as well as sdists 2018-09-18 11:07:35 -04:00
jab 764310e2fe small improvements to supporting files 2018-08-13 13:57:07 -04:00
jab 2c9a41570a alphabetize MANIFEST.in 2018-01-15 20:39:20 -05:00
Joshua Adelman 8885ac357f
Update MANIFEST.in to include license file 2018-01-15 16:11:01 -05:00
jab 51c75d2bb0 another round of refinements
- Make OrderedBidict.__eq__ always order-insensitive.
  Add OrderedBidict.equals_order_sensitive for order-sensitive comparison.
  Drop OrderedBidict.ordered_cls and bidict.compat.Reversible.

- Add test coverage for bidict.metadata.

- Use setuptools_scm for automatic version discovery from source control.
  Drop bidict/VERSION file and associated machinery.

- Ditch testing macOS on Travis, it's just too slow.
  Testing on Linux should suffice.

- Ditch using pyenv on Travis to save time and complexity.
  Travis now has a better set of Python versions available out-of-the-box.

- Add support for "python setup.py test" and use that on Travis.
2017-11-20 22:27:27 -05:00
jab e6dd75525a prepare 0.9.0rc0 2015-05-30 16:26:28 -04:00
jab fe7e7217cb refactor, tests + docs improvements
- break up single bidict.py module into multiple separate modules inside
  "bidict" package
  - new bidict.util and bidict.compat modules
  - move/rename bidict.fancy_iteritems to bidict.util.pairs
  - move bidict.iteritems and bidict.viewitems to bidict.compat
- condense docstrings by moving more documentation into separate sphinx pages
  in "docs" dir and doctests into separate files in new "tests" dir
- initial work on property-based testing using hypothesis
- adopt pytest
- bump to 0.9.0-dev
2015-04-27 11:08:27 -04:00