-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (29 loc) · 915 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
import subprocess, setuptools
from distutils.core import setup
from setuptools.command.install import install
from src.config import version
class Installer(install):
def run(self):
install.run(self)
subprocess.run(['pyinstaller', '--onefile', 'app.spec'])
with open('requirements.txt') as f:
required = f.read().splitlines()
setup(
name='TrydRPC',
version=version,
description='Discord Rich Presence for Tryd plataform',
download_url='https://github.com/Useems/TrydRPC/archive/'+version+'.tar.gz',
url='https://github.com/Useems/TrydRPC',
author='Marcos André',
author_email='marcos@outlook.in',
keywords=['tryd', 'trydrpc'],
license='MIT',
classifiers=[
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.6'
],
install_requires = required,
cmdclass={
'install': Installer,
}
)