forked from gonzaarcr/Fildem
-
Notifications
You must be signed in to change notification settings - Fork 10
/
setup.py
59 lines (51 loc) · 1.36 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
import setuptools
import os
import sys
import fildem
with open('README.md', 'r') as fh:
long_description = fh.read()
def fildemStartup():
return input("Would you like to run fildem on startup? [Y/N]: ")
def __Main__():
if (sys.argv[1] == "install"):
response = fildemStartup().lower()
if (response == "y" or response == "yes"):
os.system("mv ./fildemstartup/* ~/.config/autostart/")
elif (response == "n" or response == "no"):
print("")
else:
#Ask the question again
__Main__()
__Main__()
setuptools.setup(
name='fildem',
version=fildem.__version__,
author='Gonzalo',
author_email='[email protected]',
description='Fildem Global Menu for Gnome Desktop',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/gonzaarcr/Fildem',
packages=setuptools.find_packages(),
data_files=[
('share/applications', ['fildem-hud.desktop'])
],
install_requires=[
'PyGObject>=3.30.0'
],
classifiers=[
'Programming Language :: Python :: 3',
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Operating System :: POSIX :: Linux'
],
project_urls={
'Bug Reports': 'https://github.com/gonzaarcr/Fildem/issues',
'Source': 'https://github.com/gonzaarcr/Fildem',
},
entry_points={
'console_scripts': [
'fildem = fildem.run:main',
'fildem-hud = fildem.inithud:main'
]
}
)