-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
104 lines (101 loc) · 3.1 KB
/
setup.py
File metadata and controls
104 lines (101 loc) · 3.1 KB
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
"""
Setup file for Data Cleaner Pro package
"""
from setuptools import setup, find_packages
import os
# Read the contents of README file
with open('README.md', 'r', encoding='utf-8') as f:
long_description = f.read()
# Read version from __init__.py
def get_version():
with open(os.path.join('src', '__init__.py'), 'r') as f:
for line in f:
if line.startswith('__version__'):
return line.split('=')[1].strip().strip("'\"")
return '0.1.0'
setup(
name='data-cleaner-pro',
version=get_version(),
author='Your Name',
author_email='your.email@example.com',
description='Professional data cleaning toolkit for everyday use',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/yourusername/data-cleaner-pro',
project_urls={
'Documentation': 'https://github.com/yourusername/data-cleaner-pro#readme',
'Source': 'https://github.com/yourusername/data-cleaner-pro',
'Tracker': 'https://github.com/yourusername/data-cleaner-pro/issues',
},
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Developers',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Topic :: Scientific/Engineering :: Information Analysis',
'Topic :: Software Development :: Libraries :: Python Modules',
'Operating System :: OS Independent',
],
keywords=[
'data-cleaning',
'data-preprocessing',
'data-analysis',
'pandas',
'data-science',
'machine-learning',
'data-quality'
],
package_dir={'': 'src'},
packages=find_packages(where='src'),
python_requires='>=3.8',
install_requires=[
'pandas>=1.5.0',
'numpy>=1.21.0',
'scipy>=1.9.0',
'scikit-learn>=1.2.0',
'python-dateutil>=2.8.0',
],
extras_require={
'dev': [
'pytest>=7.0.0',
'pytest-cov>=4.0.0',
'black>=23.0.0',
'flake8>=6.0.0',
'mypy>=1.0.0',
'pre-commit>=3.0.0',
],
'notebooks': [
'jupyter>=1.0.0',
'matplotlib>=3.5.0',
'seaborn>=0.11.0',
'plotly>=5.13.0',
'ipywidgets>=8.0.0',
],
'docs': [
'sphinx>=6.0.0',
'sphinx-rtd-theme>=1.0.0',
'nbsphinx>=0.9.0',
],
'all': [
'jupyter>=1.0.0',
'matplotlib>=3.5.0',
'seaborn>=0.11.0',
'plotly>=5.13.0',
'openpyxl>=3.0.0',
'pyarrow>=10.0.0',
'sqlalchemy>=1.4.0',
],
},
entry_points={
'console_scripts': [
'datacleaner=data_cleaner_pro.cli:main',
],
},
include_package_data=True,
zip_safe=False,
)