Skip to content

Commit

Permalink
Start manual transition to toml
Browse files Browse the repository at this point in the history
  • Loading branch information
lajohn4747 committed Feb 29, 2024
1 parent 251fe44 commit eff2702
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 29 deletions.
41 changes: 41 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[project]
name = 'sdmetrics'
description = 'Metrics for Synthetic Data Generation Projects'
version = '0.13.1.dev0'
authors = [{ name = "MIT Data To AI Lab", email = "[email protected]" }]
license = { text = 'MIT license' }
classifiers = [
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
]
requires-python = "'>=3.8,<3.12"
keywords = ['sdmetrics', 'sdmetrics', 'SDMetrics']

[project.urls]
"Source Code" = "https://github.com/sdv-dev/SDMetrics"
"Issue Tracker" = "https://github.com/sdv-dev/SDMetrics/issues"
"Twitter" = "https://twitter.com/sdv_dev"
"Chat" = "https://bit.ly/sdv-slack-invite"

[build-system]
requires = ['setuptools', 'wheel']
build-backend = "setuptools.build_meta"

# Development dependencies
[project.optional-dependencies]

test = [
'pytest>=6.2.5,<7',
'pytest-cov>=2.6.0,<3',
'pytest-rerunfailures>=10',
'jupyter>=1.0.0,<2',
'rundoc>=0.4.3,<0.5',
'invoke',
]
29 changes: 0 additions & 29 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,6 @@
'pytest-runner>=2.11.1',
]

tests_require = [
'pytest>=6.2.5,<7',
'pytest-cov>=2.6.0,<3',
'pytest-rerunfailures>=10',
'jupyter>=1.0.0,<2',
'rundoc>=0.4.3,<0.5',
'invoke',
]

development_requires = [
# general
'bumpversion>=0.5.3,<0.6',
Expand Down Expand Up @@ -94,20 +85,6 @@
]

setup(
author='MIT Data To AI Lab',
author_email='[email protected]',
classifiers=[
'Development Status :: 2 - Pre-Alpha',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
],
description='Metrics for Synthetic Data Generation Projects',
extras_require={
'test': tests_require + torch_requires,
'torch': torch_requires,
Expand All @@ -116,18 +93,12 @@
},
install_package_data=True,
install_requires=install_requires,
license='MIT license',
long_description=readme + '\n\n' + history,
long_description_content_type='text/markdown',
include_package_data=True,
keywords='sdmetrics sdmetrics SDMetrics',
name='sdmetrics',
packages=find_packages(include=['sdmetrics', 'sdmetrics.*']),
python_requires='>=3.8,<3.12',
setup_requires=setup_requires,
test_suite='tests',
tests_require=tests_require,
url='https://github.com/sdv-dev/SDMetrics',
version='0.13.1.dev0',
zip_safe=False,
)

0 comments on commit eff2702

Please sign in to comment.