-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
34 lines (27 loc) · 797 Bytes
/
setup.py
File metadata and controls
34 lines (27 loc) · 797 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
34
from setuptools import setup
# import os
# import datetime
# # Get the version from the git tag, and write to VERSION.
# ref = None
# if "GITHUB_REF" in os.environ:
# ref = os.environ["GITHUB_REF"]
# if ref and ref is not None and ref.startswith("refs/tags/"):
# version = ref.replace("refs/tags/", "")
# else:
# version = datetime.datetime.now().strftime("%Y.%m.%d%H%M%S")
# print(version)
# requirements = []
# with open('requirements.txt') as f:
# requirements = f.read().splitlines()
setup(
# name='pygments_tsx',
# version=version,
package_dir={"": "src"},
packages=['pygments_tsx'],
entry_points="""
[pygments.lexers]
jsx=jsx:JsxLexer
tsx=pygments_tsx.tsx:TypeScriptXLexer
""",
# install_requires=requirements
)