-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
30 lines (27 loc) · 707 Bytes
/
setup.py
File metadata and controls
30 lines (27 loc) · 707 Bytes
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
from setuptools import setup, find_packages
import json
default_version = '1.0.0'
try:
with open('version.info', 'r') as version_file:
version_info = json.load(version_file)
current_version = version_info['currentVersion']
except (FileNotFoundError, KeyError):
current_version = default_version
setup(
name='rflow',
version=current_version,
packages=find_packages(),
include_package_data=True,
install_requires=[
'click==8.1.7',
'GitPython==3.1.42',
'semantic-version==2.10.0',
'gitdb==4.0.11',
'smmap==5.0.1'
],
entry_points={
'console_scripts': [
'rflow=rflow.cli:cli',
],
},
)