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 f65841d commit 95cf1a1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 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,16 +19,13 @@ def readme():

setup(
name="hanja",
# TODO: We need to stop this madness. Either use setuptools instead of
# distutils, or write a function to recursively collect all relavant files.
py_modules=["hanja", "hanja/__init__", "hanja/hangul", "hanja/impl", "hanja/table"],
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"]),
package_data={"": ["requirements.txt"], "hanja": ["table.yml"]},
include_package_data=True,
install_requires=install_requires,
Expand Down

0 comments on commit 95cf1a1

Please sign in to comment.