-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
47 lines (36 loc) · 1.04 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
"""
Setup launchy package.
"""
import ast
import re
from setuptools import setup, find_packages
def get_version():
"""Gets the current version"""
_version_re = re.compile(r'__VERSION__\s+=\s+(.*)')
with open('launchy/__init__.py', 'rb') as init_file:
version = str(ast.literal_eval(_version_re.search(
init_file.read().decode('utf-8')).group(1)))
return version
setup(
name='launchy',
version=get_version(),
license='LGPL',
description='Asyncio sub process wrapper',
url='https://github.com/neolynx/launchy',
packages=find_packages(),
include_package_data=True,
install_requires=[
],
keywords=[
'asyncio', 'process',
'sub process',
],
classifiers=[
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.5',
'Operating System :: OS Independent',
'License :: OSI Approved :: GNU Lesser General Public License v2 (LGPLv2)',
'Topic :: Utilities'
],
)