-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
59 lines (50 loc) · 1.98 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
"""
See: https://github.com/pypa/sampleproject/blob/master/setup.py
"""
from setuptools import setup, find_packages
import pathlib
here = pathlib.Path(__file__).parent.resolve()
# Get the version from xsession_manager/version.py without importing the package (inspired by youtube-dl)
exec(compile(open('xsession_manager/version.py').read(),
'xsession_manager/version.py', 'exec'))
long_description = (here / 'README.md').read_text(encoding='utf-8')
setup(
# pip install xsession-manager
name='xsession-manager',
version=__version__,
description='A command line to save and restore sessions for X11 desktops like Gnome, with many other features',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/nlpsuge/xsession-manager',
author='nlpsuge',
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: End Users/Desktop',
'License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Topic :: Desktop Environment',
'Topic :: System :: Recovery Tools',
"Topic :: Utilities",
],
keywords='manager, X.org, session, save and restore',
packages=find_packages(include=['xsession_manager', 'xsession_manager.*']),
python_requires='>=3',
install_requires=[
'psutil>=5.7.2',
'pycurl>=7.43.0.5',
],
entry_points={ # Optional
'console_scripts': [
'xsession-manager = xsession_manager.main:run',
'xsm = xsession_manager.main:run',
],
},
project_urls={
'Bug Reports': 'https://github.com/nlpsuge/xsession-manager/issues',
'Source': 'https://github.com/nlpsuge/xsession-manager',
},
)