-
Notifications
You must be signed in to change notification settings - Fork 22
/
Copy pathsetup.py
26 lines (23 loc) · 995 Bytes
/
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
import setuptools
from os import path
this_directory = path.abspath(path.dirname(__file__))
with open(path.join(this_directory, 'README.md'), encoding='utf-8') as f:
long_description = f.read()
with open("requirements.txt") as f:
required_packages = f.read().splitlines()
setuptools.setup(name='pdf-renamer',
version='1.1',
description='A python library/command-line tool to automatically rename the pdf files of scientific publications by looking up the publication metadata on the web.',
long_description=long_description,
long_description_content_type='text/markdown',
url='https://github.com/MicheleCotrufo/pdf-renamer',
author='Michele Cotrufo',
author_email='[email protected]',
license='MIT',
entry_points = {
'console_scripts': ["pdfrenamer = pdfrenamer.main:main"],
},
packages=['pdfrenamer'],
include_package_data = True,
install_requires= required_packages,
zip_safe=False)