-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
34 lines (30 loc) · 1.09 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
import setuptools
import subprocess
with open("README.md", "r") as fh:
long_description = fh.read()
gitcommand = subprocess.run(["git", "describe", "--always", "--abbrev=0"], stdout=subprocess.PIPE, universal_newlines=True)
version = gitcommand.stdout.strip("\n")
setuptools.setup(
name="scrapec",
version=version,
author="Scraterpreter Authors",
author_email="[email protected]",
description="Scrapec is a program that compiles .sb3 files into .scrape files, which can then be run using Scrape.",
long_description=long_description,
long_description_content_type="text/markdown",
url="https://github.com/scraterpreter/scrapec",
packages=setuptools.find_packages(),
classifiers=[
"Development Status :: 2 - Pre-Alpha",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Topic :: Software Development :: Compilers",
],
python_requires='>=3.6',
entry_points={
'console_scripts': [
'scrapec = src.scrapec:main',
],
},
)