aboutsummaryrefslogtreecommitdiff
path: root/devel/py-pdm/files/setup.py
blob: 03a76a3b28f7433ca374c37bc19994ad409c4138 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# -*- coding: utf-8 -*-
from setuptools import setup

import codecs

with codecs.open('README.md', encoding="utf-8") as fp:
    long_description = fp.read()
INSTALL_REQUIRES = [
    'blinker',
    'cachecontrol>=0.12.11',
    'certifi>=2022.6.15',
    'findpython>=0.2.0',
    'importlib-metadata>=3.6; python_version < "3.10"',
    'installer<0.7,>=0.6',
    'packaging>=20.9',
    'pdm-pep517<2.0.0,>=1.0.0',
    'pep517>=0.11.0',
    'platformdirs',
    'python-dotenv>=0.15',
    'requests-toolbelt',
    'resolvelib<0.9,>=0.8',
    'rich>=12.3.0',
    'shellingham>=1.3.2',
    'tomli>=1.1.0; python_version < "3.11"',
    'tomlkit<1,>=0.8.0',
    'typing-extensions; python_version < "3.8"',
    'unearth>=0.6.0',
    'virtualenv>=20',
]
ENTRY_POINTS = {
    'console_scripts': [
        'pdm = pdm.core:main',
    ],
}

setup_kwargs = {
    'name': 'pdm',
    'version': '%%PORTVERSION%%',
    'description': 'A modern Python package and dependency manager supporting the latest PEP standards',
    'long_description': long_description,
    'license': 'MIT',
    'author': '',
    'author_email': 'frostming <mianghong@gmail.com>',
    'maintainer': None,
    'maintainer_email': None,
    'url': '',
    'packages': [
        'pdm.builders',
        'pdm.cli',
        'pdm.cli.commands',
        'pdm.cli.commands.publish',
        'pdm.cli.commands.venv',
        'pdm.cli.completions',
        'pdm.formats',
        'pdm.installers',
        'pdm.models',
        'pdm.models.in_process',
        'pdm.pep582',
        'pdm.project',
        'pdm.resolver',
    ],
    'package_dir': {'': 'src'},
    'package_data': {'': ['*']},
    'long_description_content_type': 'text/markdown',
    'keywords': ['packaging', 'dependency', 'workflow'],
    'classifiers': [
        'Programming Language :: Python :: 3',
        'Programming Language :: Python :: 3.7',
        'Programming Language :: Python :: 3.8',
        'Programming Language :: Python :: 3.9',
        'Programming Language :: Python :: 3.10',
        'Topic :: Software Development :: Build Tools',
    ],
    'install_requires': INSTALL_REQUIRES,
    'python_requires': '>=3.7',
    'entry_points': ENTRY_POINTS,
}

setup(**setup_kwargs)