forked from Storyyeller/enjarify
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (50 loc) · 1.54 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import os
from setuptools import setup, find_packages
NAME = "enjarify"
PACKAGES = find_packages()
DESCRIPTION = "Translates Dalvik bytecode (.dex or .apk) to Java bytecode (.jar)"
URL = "https://github.com/Storyyeller/enjarify"
LONG_DESCRIPTION = open(os.path.join(os.path.dirname(__file__), "README.md")).read()
AUTHOR = ""
AUTHOR_EMAIL = ""
GITHUB_REF = os.environ.get("GITHUB_REF")
PREFIX = "refs/tags/"
if GITHUB_REF and GITHUB_REF.startswith(PREFIX):
prefix_len = len(PREFIX)
VERSION = GITHUB_REF[prefix_len:]
else:
VERSION = "0.0.0.dev0"
setup(
name=NAME,
version=VERSION,
description=DESCRIPTION,
long_description=LONG_DESCRIPTION,
long_description_content_type="text/markdown",
url=URL,
author=AUTHOR,
author_email=AUTHOR_EMAIL,
packages=find_packages(),
zip_safe=False,
keywords=[
"Android",
"Java",
],
classifiers=[
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
],
scripts=["bin/enjarify", "bin/enjarify.bat"],
setup_requires=[
"wheel",
],
python_requires=">=3.6",
)