Skip to content

Commit 4283976

Browse files
committed
fix(release): import version from flat_api
1 parent abe4b76 commit 4283976

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

setup.py

+4-8
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
# coding: utf-8
22

33
"""
4-
Flat API 2.20.0
5-
6-
OpenAPI spec version:
7-
4+
Flat API
85
"""
96

107

118
import sys
129
from setuptools import setup, find_packages
10+
from flat_api import __version__
1311

14-
NAME = "flat_api"
15-
VERSION = "1.1.0"
1612
# To install the library, run the following
1713
#
1814
# python setup.py install
@@ -31,8 +27,8 @@
3127
LONG_DESCRIPTION = open('README.md').read()
3228

3329
setup(
34-
name=NAME,
35-
version=VERSION,
30+
name="flat_api",
31+
version=__version__,
3632
description="Flat API Client",
3733
author="The Flat Team (https://flat.io)",
3834
author_email="[email protected]",

0 commit comments

Comments
 (0)