mirror of
https://github.com/Llewellynvdm/pdflayers.git
synced 2024-12-18 15:11:58 +00:00
1f00dedbfb
Needed for setuptools.find_packages(). Maybe not the best solution..?
34 lines
720 B
Python
34 lines
720 B
Python
#!/usr/bin/env python3
|
|
"""Setup."""
|
|
import setuptools
|
|
|
|
|
|
def _readme():
|
|
with open('README.md', 'r') as file:
|
|
return file.read()
|
|
|
|
|
|
setuptools.setup(
|
|
name='pdflayers',
|
|
version='0.1.1',
|
|
author='Simon Segerblom Rex',
|
|
description='PDF layer handling.',
|
|
long_description=_readme(),
|
|
long_description_content_type='text/markdown',
|
|
url='https://github.com/SimonSegerblomRex/pdflayers',
|
|
license='MIT',
|
|
packages=setuptools.find_packages(),
|
|
entry_points={
|
|
'console_scripts': [
|
|
'pdflayers = pdflayers.__main__:main',
|
|
],
|
|
},
|
|
python_requires='>=3.5',
|
|
install_requires=[
|
|
'pikepdf',
|
|
],
|
|
classifiers=[
|
|
'Python :: 3'
|
|
],
|
|
)
|