-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
34 lines (27 loc) · 900 Bytes
/
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
from setuptools import setup, find_packages
# Distribute py wheels
# python3 setup.py bdist_wheel sdist
# twine check dist/*
# cd dist
# cat ~/.pypirc (to get token)
# twine upload * -u __token__ -p pypi-token
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as r:
install_requires = r.readlines()
setup(
name="aggimg",
version="0.0.2",
description="Aggressive image optimizer cli!",
url="https://github.com/ClimenteA/aggressive-image-optimizer-cli",
author="Climente Alin",
author_email="[email protected]",
license="MIT",
py_modules=["aggimg"],
install_requires=install_requires,
packages=find_packages(),
long_description=long_description,
long_description_content_type="text/markdown",
package_dir={"": "src"},
entry_points={"console_scripts": ["aggimg=aggimg:cli"]},
)