-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
33 lines (26 loc) · 869 Bytes
/
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
import os
from setuptools import setup, find_packages
from pathlib import Path
PKG_ROOT = Path(__file__).parent
README = (PKG_ROOT / "README.md").read_text()
version = os.getenv("GITHUB_REF", "refs/tags/0.0.1").split("/")[-1]
print(f"Building version: {version}")
setup(
name="gcgen",
description="generate code in any language or format",
long_description=README,
long_description_content_type="text/markdown",
classifiers=[],
version=version,
author="Jesper Wendel Devantier",
author_email="[email protected]",
url="https://jwdevantier.github.io/gcgen/",
packages=find_packages(exclude=["tests"]),
install_requires=[],
entry_points={"console_scripts": ["gcgen = gcgen.__main__:main"]},
license="MIT",
options={"bdist_wheel": {"universal": True}},
package_data={
"gcgen": ["py.typed"],
},
)