-
Notifications
You must be signed in to change notification settings - Fork 7
/
setup.py
50 lines (39 loc) · 1.07 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
import logging
import os
from setuptools import setup, find_packages, Command
class BundleMetadataCommand(Command):
description = "download and bundle cached metadata"
user_options = list()
def initialize_options(self):
pass
def finalize_options(self):
pass
@staticmethod
def run():
from appimagelint._logging import setup
setup(loglevel=logging.DEBUG, with_timestamps=True)
logging.getLogger("urllib3").setLevel(logging.INFO)
from appimagelint.cache.cli import bundle_metadata
bundle_metadata()
setup(
name="appimagelint",
version="0.0.1",
packages=find_packages(),
license="MIT",
long_description=open(os.path.join(os.path.dirname(__file__), "README.md")).read(),
install_requires=[
"coloredlogs",
"packaging",
"requests",
"xdg",
"pillow",
],
cmdclass={
"bundle_metadata": BundleMetadataCommand,
},
entry_points={
"console_scripts": [
"appimagelint = appimagelint.cli:run",
],
},
)