-
-
Notifications
You must be signed in to change notification settings - Fork 403
/
setup.py
31 lines (29 loc) · 974 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import setuptools
from setuptools import setup
with open("README.md", "r") as fh:
long_description = fh.read()
params = {
'name':"remi",
'description':"Python REMote Interface library",
'use_scm_version':{'version_scheme': 'post-release'},
'long_description':long_description,
'long_description_content_type':"text/markdown",
'url':"https://github.com/rawpython/remi",
'download_url':"https://github.com/rawpython/remi/archive/master.zip",
'keywords':["gui-library", "remi", "platform-independent", "ui", "gui"],
'author':"Davide Rosa",
'author_email':"[email protected]",
'license':"Apache",
'packages':setuptools.find_packages(),
'include_package_data':True,
'setup_requires':['setuptools_scm'],
}
try:
setup(**params)
except:
del params['setup_requires']
params['use_scm_version'] = False
params['version'] = '2022.7.27'
setup(**params)