-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathsetup.py
87 lines (77 loc) · 2.07 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import os
import pathlib
from setuptools import setup, find_packages
PKGNAME = 'whotracksme'
LONG_DESCRIPTION = ''
with pathlib.Path('README.rst').open() as readme_file:
LONG_DESCRIPTION = readme_file.read()
# List all resources under whotracksme/data/
assets = []
DATA_DIR = pathlib.Path('whotracksme/data')
for root, dirs, files in os.walk(DATA_DIR):
assets.extend(
pathlib.Path(root, f).relative_to(DATA_DIR)
for f in files
if f.endswith('.csv') or f.endswith('.sql')
)
setup(
name=PKGNAME,
version='2018.4',
description='Learn about tracking technologies, market structure and data-sharing on the web',
long_description=LONG_DESCRIPTION,
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Console',
'Intended Audience :: Developers',
'Intended Audience :: Information Technology',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.6',
'Topic :: Internet',
'Topic :: Scientific/Engineering :: Information Analysis',
],
keywords='tracking whotracksme whotracks.me who tracks',
url='https://whotracks.me',
author='Cliqz Gmbh',
author_email='[email protected]',
license='MIT',
packages=find_packages(exclude=[
'_site',
'blog',
'contrib',
'data',
'static',
'templates',
'tests',
]),
install_requires=[
'docopt',
'pandas'
],
extras_require={
'dev': [
'aiohttp',
'boto3',
'colour',
'jinja2',
'markdown',
'plotly',
'pytest',
'sanic',
'squarify',
'watchdog',
],
},
package_data={
f'{PKGNAME}.data': assets,
},
zip_safe=True,
entry_points={
'console_scripts': [
f'{PKGNAME}={PKGNAME}.main:main',
],
},
)