diff --git a/flit.ini b/flit.ini deleted file mode 100644 index cafc2a3e..00000000 --- a/flit.ini +++ /dev/null @@ -1,38 +0,0 @@ -[metadata] -module = ipfsapi - -author = py-ipfs-api team -author-email = -home-page = https://github.com/ipfs/py-ipfs-api -keywords = ipfs storage distribution development -license = MIT License - -description-file = README.md - -# Unfortunately these currently need to be duplicated from `requirements.txt` -requires = requests (>=2.2.1) - six - -classifiers = Development Status :: 3 - Alpha - # - # Indicate who your project is intended for - Intended Audience :: Developers - Intended Audience :: Information Technology - Intended Audience :: Science/Research - # - Topic :: Internet - Topic :: Scientific/Engineering - Topic :: System :: Filesystems - Topic :: System :: Networking - # - # Pick your license as you wish (should match "license" above) - License :: OSI Approved :: MIT License - # - # Specify the Python versions you support here. In particular, ensure - # that you indicate whether you support Python 2, Python 3 or both. - Programming Language :: Python :: 2 - Programming Language :: Python :: 2.7 - Programming Language :: Python :: 3 - Programming Language :: Python :: 3.4 - Programming Language :: Python :: 3.5 - Programming Language :: Python :: 3.6 diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 00000000..bcc216bb --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,50 @@ +[build-system] +requires = ["flit"] +build-backend = "flit.buildapi" + +[tool.flit.metadata] +module = "ipfsapi" + +author = "py-ipfs-api team" +author-email = "" +home-page = "https://github.com/ipfs/py-ipfs-api" +keywords = "ipfs storage distribution development" +license = "MIT License" +description-file = "README.md" + +# Unfortunately these currently need to be duplicated from `requirements.txt` +requires-python = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*" +requires = [ + "requests (>=2.2.1)", + "six" +] + +classifiers = [ + "Development Status :: 3 - Alpha", + + # Indicate who your project is intended for + "Intended Audience :: Developers", + "Intended Audience :: Information Technology", + "Intended Audience :: Science/Research", + + "Topic :: Internet", + "Topic :: Scientific/Engineering", + "Topic :: System :: Filesystems", + "Topic :: System :: Networking", + + # Pick your license as you wish (should match "license" above) + "License :: OSI Approved :: MIT License", + + # Specify the Python versions you support here. In particular, ensure + # that you indicate whether you support Python 2, Python 3 or both. + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", + "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6" +] + +[tool.flit.metadata.urls] +Documentation = "https://ipfs.io/ipns/QmZ86ow1byeyhNRJEatWxGPJKcnQKG7s51MtbHdxxUddTH/Software/Python/ipfsapi/" +