forked from eth-brownie/brownie
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
53 lines (48 loc) · 1.76 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
#!/usr/bin/python3
import os
import sys
from setuptools import find_packages, setup
with open("README.md", "r") as fh:
long_description = fh.read()
if os.environ.get("BROWNIE_LIB", "0") == "1":
if sys.platform == "windows":
requirements_filename = "requirements-windows.in"
else:
requirements_filename = "requirements.in"
else:
if sys.platform == "windows":
requirements_filename = "requirements-windows.txt"
else:
requirements_filename = "requirements.txt"
with open(requirements_filename, "r") as f:
requirements = list(map(str.strip, f.read().split("\n")))[:-1]
setup(
name="eth-brownie",
packages=find_packages(),
version="1.18.1", # don't change this manually, use bumpversion instead
license="MIT",
description="A Python framework for Ethereum smart contract deployment, testing and interaction.", # noqa: E501
long_description=long_description,
long_description_content_type="text/markdown",
author="Ben Hauser",
author_email="ben@hauser.id",
url="https://github.com/eth-brownie/brownie",
keywords=["brownie"],
install_requires=requirements,
entry_points={
"console_scripts": ["brownie=brownie._cli.__main__:main"],
"pytest11": ["pytest-brownie=brownie.test.plugin"],
},
include_package_data=True,
python_requires=">=3.7,<4",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Topic :: Software Development :: Build Tools",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
)