-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathsetup.py
More file actions
33 lines (28 loc) · 975 Bytes
/
Copy pathsetup.py
File metadata and controls
33 lines (28 loc) · 975 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
31
32
33
import re
from setuptools import setup
def get_version():
init_py = open('protoactor/__init__.py').read()
# TODO: make this work with both single and double quotes
metadata = dict(re.findall("__([a-z]+)__ = \"([^\"]+)\"", init_py))
return metadata['version']
setup(
name="ProtoActor Python",
version=get_version(),
license="Apache License 2.0",
description="Protocol buffers & actors",
long_description="",
packages=["protoactor"],
package_dir={"protoactor": "protoactor"},
zip_safe=False,
include_package_data=True,
platforms="any",
classifiers=[
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules"
]
)