-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
57 lines (51 loc) · 1.65 KB
/
setup.py
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
#!/usr/bin/env python
from os import path
from setuptools import setup
from piptegrator import __config__ as config
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md')) as f:
long_description = f.read()
console_scripts = []
for src_basename in config.CONSOLE_SCRIPTS:
details = config.CONSOLE_SCRIPTS[src_basename]
console_scripts.append('{}={}.{}:main'.format(details['scriptname'], details['path'], src_basename))
print(console_scripts)
setup(
name=config.PKGNAME,
version=config.VERSION,
description=config.DESCRIPTION,
author='Martin F. Falatic',
author_email='[email protected]',
license='MIT License',
keywords='pip pip-compile pip-tools requirements uv',
url='https://github.com/MartinFalatic/piptegrator',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Topic :: Utilities',
],
packages=[
'piptegrator',
],
entry_points={
'console_scripts': console_scripts,
},
install_requires=[
'pip-tools',
'requests',
'uv',
],
extras_require={},
package_data={},
data_files=[],
# Derived data
long_description=long_description,
long_description_content_type='text/markdown',
)