Skip to content

Commit 632de9e

Browse files
author
matraszek
committed
better setup.py
1 parent 05ce452 commit 632de9e

File tree

1 file changed

+30
-19
lines changed

1 file changed

+30
-19
lines changed

setup.py

Lines changed: 30 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,37 @@
11
from setuptools import setup, find_packages
22

3+
with open("README.md", "r") as fh:
4+
long_description = fh.read()
5+
36
setup(name='img2unicode',
4-
version='0.1',
5-
description='Convert images to unicode based on font templates. Especially usable in terminal.',
6-
url='https://github.com/matrach/img2unicode',
7-
author='Maciej Matraszek',
8-
author_email='[email protected]',
9-
license='MIT',
10-
packages=find_packages(),
11-
install_requires=[
12-
'numpy',
13-
'pandas',
14-
'scikit-image',
15-
'pillow',
16-
'n2', # For FastRenderer
17-
],
18-
extras_require={
19-
'develop': [
7+
version='0.1',
8+
description='Convert images to unicode based on font templates. Especially usable in terminal.',
9+
long_description=long_description,
10+
long_description_content_type="text/markdown",
11+
url='https://github.com/matrach/img2unicode',
12+
author='Maciej Matraszek',
13+
author_email='[email protected]',
14+
license='MIT',
15+
packages=find_packages(),
16+
install_requires=[
17+
'numpy',
18+
'pandas',
19+
'scikit-image',
20+
'pillow',
21+
'n2', # For FastRenderer
22+
],
23+
extras_require={
24+
'develop': [
2025
'pytest',
2126
'pytest-cov',
2227
'sphinx',
2328
'sphinx_autodoc_typehints',
24-
]
25-
},
26-
zip_safe=False)
29+
]
30+
},
31+
classifiers=[
32+
"Programming Language :: Python :: 3",
33+
"License :: OSI Approved :: MIT License",
34+
"Operating System :: OS Independent",
35+
],
36+
python_requires='>=3.6',
37+
zip_safe=False)

0 commit comments

Comments
 (0)