Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit 7a42be0

Browse files
committed
Added requirements.txt and appropriate stuff in setup.py to handle it
1 parent 5a5a1ab commit 7a42be0

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
requests

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
#!/usr/bin/env python
22

3+
import os
34
from setuptools import setup, find_packages
45

6+
with open('requirements.txt') as f:
7+
required = f.read().splitlines()
8+
59
setup(
610
name='python-cloudflare-v4',
711
version='1.1',
@@ -10,6 +14,7 @@
1014
author_email='felix@fawong.com,mahtin@mahin.com',
1115
url='https://github.com/mahtin/python-cloudflare-v4',
1216
packages=['cli4']+find_packages(),
17+
install_requires=required,
1318
entry_points={
1419
'console_scripts': [
1520
'cli4 = cli4.__main__:main'

0 commit comments

Comments
 (0)