-
Notifications
You must be signed in to change notification settings - Fork 106
/
setup.py
54 lines (46 loc) · 1.89 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/python
# -*-coding: utf-8 -*-
from pathlib import Path
from setuptools import setup
from setuptools.command.install import install
from scripts import fontawesome_mapping_generator
class InstallCommand(install):
# Generate Font Awesome mapping file after install, so it can fit multiple versions
def run(self):
install.run(self)
fontawesome_mapping_generator.main()
with open(Path(__file__).parent.absolute() / "README_pypi.rst") as f:
long_description = f.read()
setup(
name="pywaffle",
description="PyWaffle is an open source, MIT-licensed Python package for plotting waffle charts.",
keywords="matplotlib waffle chart pie plot data visualization",
long_description=long_description,
license="MIT",
author="Guangyang Li",
author_email="[email protected]",
url="https://github.com/gyli/PyWaffle",
packages=["pywaffle"],
install_requires=["fontawesomefree", "matplotlib"],
cmdclass={"install": InstallCommand},
classifiers=[
"Development Status :: 5 - Production/Stable",
'Environment :: Console',
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Information Technology",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Visualization",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
],
)