diff --git a/README.markdown b/README.md similarity index 100% rename from README.markdown rename to README.md diff --git a/pyproject.toml b/pyproject.toml new file mode 100644 index 0000000..400750d --- /dev/null +++ b/pyproject.toml @@ -0,0 +1,32 @@ +[build-system] +requires = ["setuptools"] +build-backend = "setuptools.build_meta" + +[project] +name = "jsonate" +version = "0.7.7" +authors = [ + {name = "James Robert"}, + {email = "jiaaro@gmail.com"} +] +description = "Django library that can make ANYTHING into json" +license = {text = "MIT"} +keywords = ["django", "json", "templatetags"] +urls = {homepage = "http://jsonate.com"} +requires-python = ">=3.8" +dependencies = ["django>=4.1.3"] +readme = "README.md" +classifiers= [ + "Development Status :: 4 - Beta", + "License :: OSI Approved :: MIT License", + "Programming Language :: Python", + "Framework :: Django", + "Environment :: Web Environment", + "Intended Audience :: Developers", + "Operating System :: OS Independent", + "Topic :: Internet :: WWW/HTTP", + "Topic :: Utilities" +] + +[tool.setuptools] +packages = ["jsonate", "jsonate.templatetags"] \ No newline at end of file diff --git a/setup.py b/setup.py deleted file mode 100644 index 4cac74c..0000000 --- a/setup.py +++ /dev/null @@ -1,41 +0,0 @@ -from setuptools import setup - -setup( - name='jsonate', - version='0.7.6', - - author='James Robert', - author_email='jiaaro@gmail.com', - - description=('Django library that can make ANYTHING into json'), - long_description=open('README.markdown').read(), - long_description_content_type="text/markdown", - - license='MIT', - keywords='django json templatetags', - - url='http://jsonate.com', - - install_requires=[ - "django>=4.1.3", - ], - - packages=[ - 'jsonate', - 'jsonate.templatetags', - ], - - include_package_data=True, - - classifiers=[ - 'Development Status :: 4 - Beta', - 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python', - 'Framework :: Django', - 'Environment :: Web Environment', - 'Intended Audience :: Developers', - 'Operating System :: OS Independent', - 'Topic :: Internet :: WWW/HTTP', - 'Topic :: Utilities' - ] -)