forked from chyanju/__archived__pip-cairo-lang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
47 lines (44 loc) · 1.97 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
import os.path
import setuptools
DIR = os.path.abspath(os.path.dirname(__file__))
requirements = open(os.path.join(DIR, "requirements.txt")).read().splitlines()
version = open(os.path.join(DIR, "starkware/cairo/lang/VERSION")).read().strip()
long_description = open("README.md", "r", encoding="utf-8").read()
setuptools.setup(
name="cairo-lang",
version=version,
author="Starkware",
author_email="info@starkware.co",
description="Compiler and runner for the Cairo language",
install_requires=requirements,
long_description=long_description,
long_description_content_type="text/markdown",
packages=setuptools.find_packages(),
python_requires=">=3.6",
setup_requires=["wheel"],
url="https://cairo-lang.org/",
package_data={
"starkware.cairo.common": ["*.cairo", "*/*.cairo"],
"starkware.cairo.lang.compiler": ["cairo.ebnf", "lib/*.cairo"],
"starkware.cairo.lang.tracer": ["*.html", "*.css", "*.js", "*.png"],
"starkware.cairo.lang": ["VERSION"],
"starkware.cairo.sharp": ["config.json"],
"starkware.crypto.signature": ["pedersen_params.json"],
"starkware.starknet": ["common/*.cairo", "definitions/*.yml"],
"starkware.starknet.business_logic.execution": ["os_resources.json"],
"starkware.starknet.core.os": ["*/*.cairo", "*.cairo", "*.json"],
"starkware.starknet.security": ["whitelists/*.json"],
"starkware.starknet.testing": ["*.json"],
"starkware.starknet.third_party.open_zeppelin": ["account.json"],
},
scripts=[
"starkware/cairo/lang/scripts/cairo-compile",
"starkware/cairo/lang/scripts/cairo-format",
"starkware/cairo/lang/scripts/cairo-hash-program",
"starkware/cairo/lang/scripts/cairo-reconstruct-traceback",
"starkware/cairo/lang/scripts/cairo-run",
"starkware/cairo/lang/scripts/cairo-sharp",
"starkware/starknet/scripts/starknet-compile",
"starkware/starknet/scripts/starknet",
],
)