Skip to content

Commit

Permalink
build: Use setuptools instead of distutils
Browse files Browse the repository at this point in the history
  • Loading branch information
suminb committed May 31, 2024
1 parent af5c886 commit 44ef959
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python

from distutils.core import setup
from setuptools import setup, find_packages
from pkg_resources import parse_requirements

import hanja
Expand All @@ -19,14 +19,13 @@ def readme():

setup(
name="hanja",
py_modules=["hanja", "hanja/__init__", "hanja.hangul"],
version=hanja.__version__,
description="Hangul & Hanja library",
long_description=readme(),
author=hanja.__author__,
author_email=hanja.__email__,
url="https://github.com/suminb/hanja",
packages=[],
packages=find_packages(include=["hanja", "hanja.*"]),
package_data={"": ["requirements.txt"], "hanja": ["table.yml"]},
include_package_data=True,
install_requires=install_requires,
Expand Down

0 comments on commit 44ef959

Please sign in to comment.