Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Moved icon and launchers to setup.py - Handle uninstalls better - Drop venv
- Loading branch information
1 parent
c027f95
commit 3d5be23
Showing
10 changed files
with
133 additions
and
127 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,47 @@ | ||
#!/usr/bin/env python | ||
#!/usr/bin/env python3 | ||
|
||
from distutils.core import setup | ||
from distutils.core import setup, Command | ||
|
||
from setuptools import find_packages | ||
|
||
from src.server.data import constants | ||
|
||
|
||
class CompileDrcSimC(Command): | ||
pass # TODO compile drc_sim_c | ||
|
||
|
||
class CompileWpaSupplicantDrc(Command): | ||
pass # TODO compile wpa_supplicant_drc | ||
|
||
|
||
setup(name='drcsim', | ||
version=constants.VERSION, | ||
description='Wii U gamepad simulator.', | ||
install_requires=['netifaces==0.10.5', 'pexpect==4.2.1'], | ||
install_requires=['netifaces>=0.10.5', 'pexpect>=4.2.1'], | ||
packages=find_packages(), | ||
include_package_data=True, | ||
data_files=[('resources/config', ['resources/config/get_psk.conf']), | ||
('resources/image', [ | ||
'resources/image/clover.gif', | ||
'resources/image/diamond.gif', | ||
'resources/image/heart.gif', | ||
'resources/image/spade.gif', | ||
'resources/image/icon.gif' | ||
]), | ||
('resources/command', [ | ||
'resources/command/na.json' | ||
])], | ||
scripts=['drc-sim-backend.py'] | ||
data_files=[ | ||
('resources/config', [ | ||
'resources/config/get_psk.conf' | ||
]), | ||
('resources/image', [ | ||
'resources/image/clover.gif', | ||
'resources/image/diamond.gif', | ||
'resources/image/heart.gif', | ||
'resources/image/spade.gif', | ||
'resources/image/icon.gif' | ||
]), | ||
('/usr/share/applications', [ | ||
'resources/bin/drcsimbackend.desktop' | ||
]), | ||
('/usr/share/icons/hicolor/512x512/apps', [ | ||
'resources/image/drcsimbackend.png' | ||
]) | ||
], | ||
scripts=['drc-sim-backend'], | ||
cmdclass={ | ||
"compile_drc_sim_c": CompileDrcSimC, | ||
"compile_wpa_supplicant_drc": CompileWpaSupplicantDrc | ||
} | ||
) |
Oops, something went wrong.