##// END OF EJS Templates
install: static data moved from setup.py to pyproject.toml
paugier -
r52896:d4b27558 default
parent child Browse files
Show More
@@ -1,5 +1,42 b''
1 [build-system]
1 [build-system]
2 requires = ["setuptools", "wheel"]
2 requires = ["setuptools", "wheel"]
3 build-backend = "setuptools.build_meta"
4
5
6 [project]
7 name = "mercurial"
8 authors = [
9 {name = "Olivia Mackall and many others", email = "mercurial@mercurial-scm.org"},
10 ]
11 description="Fast scalable distributed SCM (revision control, version control) system"
12 readme = "README.rst"
13 requires-python = ">=3.8"
14 license={text = "GNU GPLv2 or any later version"}
15 classifiers=[
16 "Development Status :: 6 - Mature",
17 "Environment :: Console",
18 "Intended Audience :: Developers",
19 "Intended Audience :: System Administrators",
20 "License :: OSI Approved :: GNU General Public License (GPL)",
21 "Natural Language :: Danish",
22 "Natural Language :: English",
23 "Natural Language :: German",
24 "Natural Language :: Italian",
25 "Natural Language :: Japanese",
26 "Natural Language :: Portuguese (Brazilian)",
27 "Operating System :: Microsoft :: Windows",
28 "Operating System :: OS Independent",
29 "Operating System :: POSIX",
30 "Programming Language :: C",
31 "Programming Language :: Python",
32 "Topic :: Software Development :: Version Control",
33 ]
34 dynamic = ["version"]
35
36 [project.urls]
37 home = "https://mercurial-scm.org/"
38 download_url = "https://mercurial-scm.org/release/"
39
3
40
4 [tool.black]
41 [tool.black]
5 line-length = 80
42 line-length = 80
@@ -1766,16 +1766,7 b" if os.name == 'nt':"
1766 setupversion = setupversion.split(r'+', 1)[0]
1766 setupversion = setupversion.split(r'+', 1)[0]
1767
1767
1768 setup(
1768 setup(
1769 name='mercurial',
1770 version=setupversion,
1769 version=setupversion,
1771 author='Olivia Mackall and many others',
1772 author_email='mercurial@mercurial-scm.org',
1773 url='https://mercurial-scm.org/',
1774 download_url='https://mercurial-scm.org/release/',
1775 description=(
1776 'Fast scalable distributed SCM (revision control, version '
1777 'control) system'
1778 ),
1779 long_description=(
1770 long_description=(
1780 'Mercurial is a distributed SCM tool written in Python.'
1771 'Mercurial is a distributed SCM tool written in Python.'
1781 ' It is used by a number of large projects that require'
1772 ' It is used by a number of large projects that require'
@@ -1783,26 +1774,6 b' setup('
1783 'Mozilla.'
1774 'Mozilla.'
1784 ),
1775 ),
1785 long_description_content_type='text/x-rst',
1776 long_description_content_type='text/x-rst',
1786 license='GNU GPLv2 or any later version',
1787 classifiers=[
1788 'Development Status :: 6 - Mature',
1789 'Environment :: Console',
1790 'Intended Audience :: Developers',
1791 'Intended Audience :: System Administrators',
1792 'License :: OSI Approved :: GNU General Public License (GPL)',
1793 'Natural Language :: Danish',
1794 'Natural Language :: English',
1795 'Natural Language :: German',
1796 'Natural Language :: Italian',
1797 'Natural Language :: Japanese',
1798 'Natural Language :: Portuguese (Brazilian)',
1799 'Operating System :: Microsoft :: Windows',
1800 'Operating System :: OS Independent',
1801 'Operating System :: POSIX',
1802 'Programming Language :: C',
1803 'Programming Language :: Python',
1804 'Topic :: Software Development :: Version Control',
1805 ],
1806 scripts=scripts,
1777 scripts=scripts,
1807 packages=packages,
1778 packages=packages,
1808 ext_modules=extmodules,
1779 ext_modules=extmodules,
General Comments 0
You need to be logged in to leave comments. Login now