-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.py
48 lines (39 loc) · 1.34 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
#!/usr/bin/env python3
"""
Set it up!!!!
"""
import re
from sys import version_info
from setuptools import setup
if version_info < (3, 6, 0):
raise RuntimeError("You must use at least python 3.6 to rock this thing")
def version():
"""Thanks python!"""
with open("mouselounge/_version.py") as filep:
return re.search('__version__ = "(.+?)"', filep.read()).group(1)
def description():
"""Thanks python!"""
with open("mouselounge/_version.py") as filep:
return re.search('__desc__ = "(.+?)"', filep.read()).group(1)
setup(
name="mouselounge",
version=version(),
description=description(),
url="https://github.com/Szero/mouselounge",
license="MIT",
author="Szero",
author_email="[email protected]",
packages=['mouselounge', 'mouselounge.managers'],
include_package_data=True,
entry_points={"console_scripts": ["mouselounge = mouselounge.__main__:run"]},
classifiers=[
"Development Status :: Beta",
"Environment :: Console",
"Intended Audience :: End Users/Desktop",
"License :: OSI Approved :: MIT License",
"Natural Language :: English",
"Operating System :: Linux",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Utilities",
],
install_requires=[l.strip() for l in open("requirements.txt").readlines()])