This repository was archived by the owner on Mar 11, 2022. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree File renamed without changes.
Original file line number Diff line number Diff line change 1+
2+ # -*- coding: utf-8 -*-
3+
4+ """
5+ Licensed under the Apache License, Version 2.0.
6+ """
7+
8+ __version__ = "0.5.0"
Original file line number Diff line number Diff line change 1+ [metadata]
2+ url = https://cloudstate.io/
3+ author = Cloudstate
4+ # author_email = sleipnir@bsd.com.br
5+ license = Apache
6+ license_file = LICENSE
7+ classifiers =
8+ Intended Audience :: Developers
9+ License :: OSI Approved :: Apache Version 2
10+ Operating System :: OS Independent
11+ Programming Language :: Python
12+ Programming Language :: Python :: 3.8
13+ project_urls =
14+ Documentation = https://cloudstate.io/docs/user/lang/index.html
15+ Source = https://github.com/cloudstateio/python-support
16+
17+ [options]
18+ python_requires = >=3.8
19+ packages = find:
20+ include_package_data = true
21+ zip_safe = false
22+ install_requires =
23+ protobuf == 3.11.3
24+ grpcio == 1.28.1
25+ grpcio-tools == 1.28.1
26+ attrs == 19.3.0
27+
128[aliases]
229test =pytest
30+
331[tool:pytest]
432python_files = cloudstate/tests/test_*.py
Original file line number Diff line number Diff line change 11from setuptools import setup , find_packages
2-
3- setup (name = 'cloudstate' ,
4- version = '0.1.0' ,
5- url = 'https://github.com/marcellanz/cloudstate_python-support' ,
2+
3+ # Load version in cloudstate package.
4+ exec (open ('cloudstate/version.py' ).read ())
5+ version = __version__
6+ name = 'cloudstate'
7+
8+ print (f'package name: { name } , version: { version } ' , flush = True )
9+
10+ setup (name = name ,
11+ version = version ,
12+ url = 'https://github.com/cloudstateio/python-support' ,
613 license = 'Apache 2.0' ,
7- description = 'Cloudstate Python Support' ,
14+ description = 'Cloudstate Python Support Library ' ,
815 packages = find_packages (exclude = ['tests' , 'shoppingcart' ]),
916 long_description = open ('README.md' ).read (),
1017 zip_safe = False )
Original file line number Diff line number Diff line change 1- from cloudstate .cloud_state import CloudState
1+ from cloudstate .cloudstate import CloudState
22from shoppingcart .shopping_cart_entity import entity as shopping_cart_entity
33import logging
44
You can’t perform that action at this time.
0 commit comments