-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
41 lines (35 loc) · 1.21 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
# This file only exists for local development, and to simplify the build process by
# allowing `language_statistics` to be seen as the entrypoint directory.
import pathlib
from setuptools import setup, find_packages
HERE = pathlib.Path(__file__).parent
# None of this matters...
VERSION = "1.0.0"
PACKAGE_NAME = "langstats"
AUTHOR = "Simon Ilincev"
AUTHOR_EMAIL = "[email protected]"
URL = "https://github.com/Destaq/langstats"
LICENSE = "MIT License"
DESCRIPTION = "Generates a colored image showing programming language distribution in your directory."
LONG_DESCRIPTION = (HERE / "README.md").read_text()
LONG_DESC_TYPE = "text/markdown"
INSTALL_REQUIRES = ["pycairo>=1.19.1", "Pillow>=4.1.1", "PyYAML>=5.3.1"]
# pyproject.toml is used instead.
setup(
name=PACKAGE_NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type=LONG_DESC_TYPE,
author=AUTHOR,
license=LICENSE,
author_email=AUTHOR_EMAIL,
url=URL,
install_requires=INSTALL_REQUIRES,
packages=find_packages(),
entry_points={
"console_scripts": ["statistics = language_statistics.statistics:main"]
},
include_package_data=True,
zip_safe=False,
)