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

Commit

Permalink
Merge pull request #31 from miurahr/platform-wheel
Browse files Browse the repository at this point in the history
Generate platform dependency wheel
  • Loading branch information
miurahr authored Mar 25, 2018
2 parents bb3990e + 2329e28 commit c65193c
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 10 deletions.
29 changes: 20 additions & 9 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,46 @@ PyKakasi ChangeLog

.. current developments
Unreleased
==========

**Added:** None

**Changed:** None

**Fixed:**

* Build wheel with platform name.

**Deprecated:** None

**Removed:** None

**Security:** None

Version 0.25 (25, Mar, 2018)
============================

**Added**:
**Added:**

* Test on Python 3.5 and Python 3.6
* Test on Windows using AppVeyor
* Mesure test coverage and monitor on coveralls.io

**Changed:**:
**Changed:**

* Move dictionary data to pykakasi/data
* Build dictionary when setup.py build
* Recoomend installation from github source not pypi. (#17)
* Converter configuration become per instance not class wide.

**Deprecated:** None

**Removed:** None

**Fixed:**:
**Fixed:**

* kakasi.py: Fix exception class name typo of InvalidFlagValueException
* kakasi.py, h2a.py, k2a.py: Do not import all exception class.
* test_genkanwadict.py: Multi platform support for temp directory(#27).
* setup.py: change _pre_build() to pre_build() (#17).

**Security:** None

Version 0.23 (25, May, 2014)
=============================

Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
# This flag says that the code is written to work on both Python 2 and Python
# 3. If at all possible, it is good practice to do this. If you cannot, you
# will need to generate wheels for each Python version that you support.
universal=0
universal=1
10 changes: 10 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,15 @@
from setuptools.command.install import install
from distutils.command.build import build

try:
from wheel.bdist_wheel import bdist_wheel as _bdist_wheel
class bdist_wheel(_bdist_wheel):
def finalize_options(self):
_bdist_wheel.finalize_options(self)
self.root_is_pure = False
except ImportError:
bdist_wheel = None

import pykakasi.genkanwadict as genkanwadict

def gen_dict(src_f, pkl_f):
Expand Down Expand Up @@ -77,6 +86,7 @@ def run(self):
test_suite = 'nose.collector',
tests_require = tests_require,
cmdclass = {
'bdist_wheel': bdist_wheel,
'build':my_build
}
)

0 comments on commit c65193c

Please sign in to comment.