Commit Graph

137 Commits

Author SHA1 Message Date
Tim Burke eca7e3605e Add release notes to PyPI project URLs
Change-Id: I8cd7f190bed6e7ae8d4c86302d8f0b976d8f1844
2023-08-03 15:46:04 -07:00
Tim Burke 008840ca19 Prep for 1.6.1 release
Change-Id: I37735a81131612464caff1d08b78d5efb78d694c
2022-04-13 22:10:27 -07:00
Zuul 7f05a784fb Merge "Use hacking checks" 2022-04-14 05:05:51 +00:00
Tim Burke 2884a6b882 Use hacking checks
Change-Id: I5ed0829d1124c813fb3457cf45152a0f175cebea
2022-04-08 20:29:20 -07:00
Tim Burke 86e9f03c31 Restrict ourselves to Python's Stable ABI
This allows us to build shared libraries that work across minor CPython
releases. See also: https://docs.python.org/3/c-api/stable.html

To build abi3 wheels, run something like

   python setup.py bdist_wheel --py-limited-api=cp35

Change-Id: Iaa747d58c6ac9dd64c5e4d3b5fdd4e56e8e2cb5e
2022-04-06 10:10:16 -07:00
Tim Burke b50040969a Set long_description_content_type
Otherwise, `twine check` warns

   warning: `long_description_content_type` missing. defaulting to `text/x-rst`.

Change-Id: I272f50c523fbc425f169ebdcf2f4ba8e938ee1f4
2022-03-11 13:53:33 -08:00
Tim Burke c73609967b Test under py310
Change-Id: I740ce943e8ff3021393d3ecb2e9ad7a52cbaa7b7
2022-03-11 11:02:48 -08:00
Tim Burke 61d1dd7d1e Clean up install warning
Previously, running `python setup.py install` would include a

   UserWarning: Unknown distribution option: bugtrack_url

Apparently, bugtrack_url isn't really a thing (anymore?), so include a
custom project URL instead.

Change-Id: I05dd64c63fe07e152b89a7f48ae7a4ab889e9b64
2021-10-25 21:45:31 -07:00
Tim Burke 90c166617c Add trove classifiers
Change-Id: I4d6ddf874dc54009634ae6a4d309e18198921a1c
2021-06-01 12:26:23 -07:00
Tim Burke e4cc1733a2 Update some project URLs
Change-Id: I8945117faa1e8d0c9029e990c1060e6ee78100ed
2021-06-01 12:25:25 -07:00
Tim Burke cffa0e84cf Prep for 1.6.0 release
Change-Id: Iabd4989dc36e1754e60700f878dcfd25272529f3
2019-03-25 22:38:17 -07:00
Tim Burke 2033d7b362 Try harder to find liberasurecode
Allow the use of LD_LIBRARY_PATH when finding shared libraries;
see https://bugs.python.org/issue9998 which was addressed in
Python 3.6

Change-Id: I45f89152f94ca1bf9a8f097fbe69521892d285fe
2019-02-13 14:38:35 -08:00
Tim Burke 931c4e4559 Use liberasurecode_get_version()
... to determine whether we have a supported version. If not
available, fall back to file name parsing to check the version,
keeping in mind that we haven't yet released a v2.

Change-Id: I5f81ddd6df1970bef3a2614126bce0eb78f44473
Closes-Bug: 1780320
2019-02-13 14:38:30 -08:00
Tim Burke 0e3afd3b94 Fix gate
Change-Id: I1c9bd3a4706a1d7235981f15cb6e1f4cc8d7ff55
2019-02-13 09:43:04 -08:00
Zuul 3b7a278123 Merge "Switch from pep8 to flake8 for linting" 2018-03-13 20:15:31 +00:00
Jenkins 249ea7cc3e Merge "Add tox environment to test against liberasurecode master" 2017-09-13 21:31:56 +00:00
Thiago da Silva 0cdfbf6f6e Release 1.5.0
Change-Id: Id6ea5043c983ec0f882feedb6c970e3994961d6c
2017-06-06 21:11:13 -04:00
Tim Burke a514c89d88 Add tox environment to test against liberasurecode master
Go clone liberasurecode to our tox env directory, install it
there, and tell setuptools/distutils to use it.

To checkout something *other* than tip-of-master, set LIBERASURECODE_REF
to the remote ref you're interested in.

Change-Id: I13417e058a340ba0d4a79080f0e05dea1be193fc
2017-05-03 16:28:32 -07:00
Tim Burke 292856defa Switch from pep8 to flake8 for linting
...and clean up the unused variables, unused imports, and inconsistent
spacing that flake8 revealed.

Change-Id: I3ae1e834f01f477be88dfc48de954eeaf19e43cf
2017-05-03 15:07:20 -07:00
Thiago da Silva baf8be7f92 release 1.4.0
Change-Id: I1e7f96cf96906450ef1323e1f9c48fcfd30f14ff
Signed-off-by: Thiago da Silva <thiago@redhat.com>
2016-12-08 20:16:25 +00:00
John Dickinson a185b061a1 Updated name in setup.py to work with release tooling.
Change-Id: Ia5b125628f823038187e13af51763bcf717a1521
2016-09-30 09:09:42 -07:00
John Dickinson 498f972c72 1.3.0 release
Change-Id: I044893a975dd644c0ba5958216138828f8aeefb9
2016-09-29 15:21:03 -07:00
Ondřej Nový 1b6ec8dd0a Change liberasure URL to new one
Change-Id: Ie69dada7082df2eb9ceb73d54fbca4d3cd941e5c
2016-06-01 15:44:17 +02:00
Thiago da Silva 5ebce22641 Release 1.2.1
First release using Openstack Infra

Change-Id: I465348ea0d35dedaf27fdfd994abde2b0e7f29ad
Signed-off-by: Thiago da Silva <thiago@redhat.com>
2016-05-26 14:21:23 -04:00
Tushar Gohad f44df21404 Clarify _find_library() usage 2016-02-13 16:24:29 +00:00
Tushar Gohad 6f7454ef14 Remove unused routines 2016-02-13 16:22:16 +00:00
Tushar Gohad c2821db080 Switch to find_library() for dependency checks
We were using _findLib_gcc to get the complete to liberasurecode
when building rpath was necessary.  For simple library existence/
version checks, find_library() is good enough.
2016-02-13 16:19:00 +00:00
Tushar Gohad 10eca22018 Release 1.2.0 2016-01-12 16:45:20 -07:00
Davanum Srinivas 93ee595ad8 Use sys.prefix instead of hardcoding /usr/local/lib/
This fixes #78
2015-12-04 05:26:16 -07:00
Tushar Gohad 1165a9e63c Remove platform.architecture() reference
We should not use compile time platform to guide target
including location of libraries etc.  Thanks Pete Zaitcev
for pointing out.
2015-12-04 05:17:24 -07:00
Tushar Gohad 4bff4a92ea Remove integrated liberasurecode tarball
... now that liberasurecode-dev(el) packages are available
on most supported distros
2015-12-04 04:35:59 -07:00
Tushar Gohad 3aa1a13477 Eliminate liberasurecode manual search/runtime_library_dirs 2015-12-04 04:14:54 -07:00
Tushar Gohad 47f0aa01e6 Fix line endings in README, up minor rev in setup.py 2015-11-12 18:03:03 +00:00
Tushar Gohad b9140f9273 Revert default liberasurecode prefix to /usr/local 2015-10-24 01:00:54 +00:00
Tushar Gohad 5ffe7ee6c0 Release 1.1.0 2015-10-21 08:34:56 +00:00
Tushar Gohad 6d67203bde Release 1.0.9 2015-09-08 09:24:32 +00:00
Tushar Gohad 0103f6886f Update integrated liberasurecode rev to 1.0.9 2015-09-08 09:24:32 +00:00
Tushar Gohad 01ab5ddd6d Add --install-liberasurecode option to setup.py
... make liberasurecode install optional

Usage: python setup.py install \
              --install-liberasurecode [yes | no]
2015-09-08 09:24:32 +00:00
tushar.gohad@intel.com 74eef0c035 Eliminate rpath handling
Forbidden by most distros
2015-08-05 17:42:39 +00:00
Tushar Gohad 9bb3c040e4 Add ChangLog. README updates for 1.0.8. 2015-08-03 01:30:42 +00:00
Kevin Greenan 6647ecdad1 Fix spacing for PEP8 compliance 2015-08-02 09:51:49 -07:00
Kevin Greenan 6bc5f26a6e A few updates to deal with the Mac OS X weirdness with Xcode's linker bug.
To make things easier, we just detect the version of OS X and install into
/usr/local instead of /usr.  This is not perfect, but should be good enough.
2015-08-02 09:40:30 -07:00
Tushar Gohad 1a9a3b18ff Fix find_library() param to be just "erasurecode"
... or else setup.py is not able to located liberasurecode
although it is already installed
2015-08-02 06:12:04 +00:00
Kevin Greenan c4e03addde Another minor fix to setup.py 2015-07-31 11:51:09 -07:00
Kevin Greenan 553515d0c0 A few fixes to the new setup.py library finder/installer. 2015-07-31 11:46:49 -07:00
Tushar Gohad 4e2efcd952 Fix liberasurecode install exit code, redo lib search 2015-07-31 07:19:15 +00:00
Victor Stinner df369b49fb Issue #71: Add /usr/include/liberasurecode
Add /usr/include/liberasurecode to include directories to support
liberasurecode installed in /usr.
2015-07-29 01:03:34 +02:00
Tushar Gohad db2952f199 Use /usr for default liberasurecode prefix 2015-07-28 22:29:14 +00:00
Tushar Gohad cae5a438f2 liberasurecode install msg cleanup 2015-07-28 01:13:00 -07:00
Tushar Gohad 8d1ce1c4aa Check for missing liberasurecode and install if necessary 2015-07-23 00:22:30 -07:00