-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsetup.py
37 lines (34 loc) · 1.18 KB
/
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
32
33
34
35
36
37
from setuptools import setup, find_packages
from asyncapicodegen import _version
with open("README.md", "r") as fh:
long_description = fh.read()
with open("requirements.txt", "r") as fp:
requirements = fp.read().split('\n')
setup(name='asyncapi-codegen',
version=_version.__version__,
url='http://github.com/pearmaster/asyncapi-codgen',
author='Jacob Brunson',
author_email='[email protected]',
description="Generate C++ for an AsyncAPI Specification",
long_description=long_description,
long_description_content_type="text/markdown",
license='GPLv2',
packages=[
'asyncapicodegen',
'asyncapicodegen.templates.cpp',
'asyncapicodegen.templates.python',
'asyncapicodegen.templates.markdown',
],
package_data={
'asyncapicodegen.templates.cpp': ['*.jinja2'],
'asyncapicodegen.templates.python': ['*.jinja2'],
'asyncapicodegen.templates.markdown': ['*.jinja2'],
},
zip_safe=False,
install_requires=requirements,
include_package_data=True,
python_requires='>=3.7',
scripts=[
'bin/asyncapi-codegen',
]
)