-
Notifications
You must be signed in to change notification settings - Fork 3
/
setup.py
executable file
·62 lines (55 loc) · 1.57 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
55
56
57
58
59
60
61
62
#!/usr/bin/env python3
import os
import setuptools
from setuptools import setup
from abmatt import __version__
# reading long description from file
with open('README.md') as file:
long_description = file.read()
REQUIREMENTS = [
'fuzzywuzzy',
'python-Levenshtein',
'numpy',
'pillow',
'colorama',
'PyQt5',
'lxml',
'pyqtgraph',
'PyOpenGL'
]
# some more details
CLASSIFIERS = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Operating System :: OS Independent"
]
data_dir = 'etc/abmatt'
data_files = ['etc/abmatt/config.conf',
'etc/abmatt/icon.ico',
'etc/abmatt/mat_lib.brres',
'etc/abmatt/presets.txt']
# calling the setup function
setup(name='abmatt',
version=__version__,
entry_points={
'console_scripts': [
'abmatt = abmatt.__main__:main'
],
'gui_scripts': [
'abmatt-gui = abmatt.gui.main_window:main'
]
},
description='Brres file material editor',
long_description=long_description,
long_description_content_type="text/markdown",
url='https://github.com/Robert-N7/abmatt',
author='Robert Nelson',
author_email='[email protected]',
license='GPLv3',
packages=setuptools.find_packages(),
data_files=[(data_dir, data_files)],
classifiers=CLASSIFIERS,
install_requires=REQUIREMENTS,
keywords='Mario Kart Wii Brres Material Model'
)