setup.py 996 Bytes
Newer Older
Rolf H. B. van Kleef's avatar
Rolf H. B. van Kleef committed
1 2 3
import setuptools
import dict_deserializer

4 5 6 7 8 9
from pipenv.project import Project
from pipenv.utils import convert_deps_to_pip

pfile = Project(chdir=False).parsed_pipfile
requirements = convert_deps_to_pip(pfile['packages'], r=False)

Rolf H. B. van Kleef's avatar
Rolf H. B. van Kleef committed
10 11 12 13 14 15 16 17 18 19 20
with open("README.md", "r") as fh:
    long_description = fh.read()

setuptools.setup(
    name=dict_deserializer.name,
    version=dict_deserializer.version,
    author=dict_deserializer.author.name,
    author_email=dict_deserializer.author.email,
    description=dict_deserializer.description,
    long_description=long_description,
    long_description_content_type="text/markdown",
Rolf H. B. van Kleef's avatar
Rolf H. B. van Kleef committed
21
    url="https://github.com/rhbvkleef/dict_deserializer",
Rolf H. B. van Kleef's avatar
Rolf H. B. van Kleef committed
22
    packages=setuptools.find_packages(),
23
    install_requires=requirements,
Rolf H. B. van Kleef's avatar
Rolf H. B. van Kleef committed
24 25 26 27 28 29 30 31
    classifiers=[
        "Programming Language :: Python :: 3",
        "License :: OSI Approved :: BSD License",
        "Operating System :: OS Independent",
        "Topic :: Utilities",
        "Development Status :: 4 - Beta",
    ],
)