Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit db71d69

Browse files
author
Kotsias, Panagiotis-Christos
committed
Added env and package details
1 parent 15be8de commit db71d69

File tree

3 files changed

+64
-0
lines changed

3 files changed

+64
-0
lines changed

.travis.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
language: python
2+
python:
3+
- "3.8"
4+
before_install:
5+
- wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
6+
- bash miniconda.sh -b -p $HOME/miniconda
7+
- source "$HOME/miniconda/etc/profile.d/conda.sh"
8+
- export PATH=/home/travis/miniconda/bin:$PATH
9+
- conda update -q conda -y
10+
- conda info -a
11+
install:
12+
- conda env create -f env.yml
13+
- conda activate etherscan-python
14+
- pip install .
15+
script:
16+
- bash run_tests.sh

env.yml

+34
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: etherscan-python
2+
channels:
3+
- conda-forge
4+
- defaults
5+
dependencies:
6+
- _libgcc_mutex=0.1=conda_forge
7+
- _openmp_mutex=4.5=1_gnu
8+
- ca-certificates=2020.6.20=hecda079_0
9+
- certifi=2020.6.20=py38h32f6830_0
10+
- ld_impl_linux-64=2.35=h769bd43_9
11+
- libffi=3.2.1=he1b5a44_1007
12+
- libgcc-ng=9.3.0=h24d8f2e_16
13+
- libgomp=9.3.0=h24d8f2e_16
14+
- libstdcxx-ng=9.3.0=hdf63c60_16
15+
- ncurses=6.2=he1b5a44_1
16+
- openssl=1.1.1h=h516909a_0
17+
- pip=20.2.3=py_0
18+
- python=3.8.5=h1103e12_9_cpython
19+
- python_abi=3.8=1_cp38
20+
- readline=8.0=he28a2e2_2
21+
- setuptools=49.6.0=py38h32f6830_1
22+
- sqlite=3.33.0=h4cf870e_0
23+
- tk=8.6.10=hed695b0_0
24+
- wheel=0.35.1=pyh9f0ad1d_0
25+
- xz=5.2.5=h516909a_1
26+
- zlib=1.2.11=h516909a_1009
27+
- pip:
28+
- chardet==3.0.4
29+
- coverage==5.3
30+
- idna==2.10
31+
- requests==2.24.0
32+
- urllib3==1.25.10
33+
prefix: /projects/mai/kjmv588/miniconda3/envs/etherscan-python
34+

setup.py

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
from setuptools import setup
2+
3+
setup(
4+
name="etherscan-python",
5+
version="1.0.0",
6+
description="",
7+
url="",
8+
author="Panagiotis Kotsias",
9+
author_email="[email protected]",
10+
license="MIT",
11+
packages=["etherscan"],
12+
install_requires=["requests", "coverage"],
13+
zip_safe=False,
14+
)

0 commit comments

Comments
 (0)