Skip to content

Commit 0d7ea31

Browse files
committed
Include agents data file in the library distribution
1 parent f2ffc9a commit 0d7ea31

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

setup.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
from setuptools import setup, find_packages
2+
from glob import glob
23

3-
setup(name='http-request-randomizer',
4-
version='0.0.3',
4+
setup(name='HTTP_Request_Randomizer',
5+
version='0.0.4',
56
description='A package using public proxies to randomise http requests.',
67
url='https://pgaref.github.io/blog/python-proxy/',
78
author='pgaref',
89
author_email='pangaref@gmail.com',
910
license='MIT',
1011
packages=find_packages(exclude=['tests']),
12+
package_data={
13+
# Include agents.txt files
14+
'http.requests': ['data/*'],
15+
},
16+
include_package_data=True,
1117
install_requires=["requests", "bs4", "psutil", "httmock", "python-dateutil", "schedule"],
1218
zip_safe=False)

0 commit comments

Comments
 (0)