Skip to content

Commit

Permalink
Update pyproject and setup
Browse files Browse the repository at this point in the history
  • Loading branch information
Cali Garmo committed Feb 26, 2024
1 parent 5e02548 commit 7667449
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 23 deletions.
27 changes: 27 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,30 @@
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"

[project]
name = "oriented_matroids"
authors = [
{name = "Aram Dermenjian", email = "[email protected]"},
]
description = 'Oriented matroids for sagemath'
keywords="SageMath packaging"
requires-python = ">=3.8"
license='GPLv3+' # This should be consistent with the LICENCE file
# classifiers list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Mathematics',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
]
dependencies=['sage-package', 'sphinx']
version=['VERSION']

[project.readme]
file = "README.md"
content-type = "text/markdown"

[project.urls]
Homepage = "https://github.com/thecaligarmo/oriented_matroids"
"Bug Tracker" = "https://github.com/thecaligarmo/oriented_matroids/issues"
24 changes: 1 addition & 23 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,29 +20,7 @@ def run_tests(self):


setup(
name="oriented_matroids",
description='Oriented matroids for sagemath',
version=readfile('VERSION').strip(),
long_description=readfile('README.md'),
long_description_content_type='text/markdown',
url='https://github.com/thecaligarmo/oriented_matroids',
author='Aram Dermenjian',
author_email='[email protected]',
project_urls={
'Bug Tracker': 'https://github.com/thecaligarmo/oriented_matroids/issues',
},
license='GPLv3+', # This should be consistent with the LICENCE file
python_requires='>=3.8',
# classifiers list: https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'Development Status :: 4 - Beta',
'Intended Audience :: Science/Research',
'Topic :: Scientific/Engineering :: Mathematics',
'License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)',
],
keywords="SageMath packaging",
packages=find_packages(),
cmdclass={'test': SageTest}, # adding a special setup command for tests
setup_requires=['sage-package'],
install_requires=['sage-package', 'sphinx'],
cmdclass={'test': SageTest} # adding a special setup command for tests
)

0 comments on commit 7667449

Please sign in to comment.