-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
49 lines (40 loc) · 1.84 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
#!/usr/bin/env python3
"""
This is the falmeida-py installation script. Assuming you're in the same directory, it can be run
like this: `python3 setup.py install`, or (probably better) like this: `pip3 install .`
Copyright 2020 Felipe Almeida ([email protected])
https://github.com/fmalmeida/pythonScripts
This file is part of my custom python scripts (falmeida-py) package, which is free: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version. This package is distributed
in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details. You should have received a copy of the GNU General Public License along with falmeida-py package.
If not, see <http://www.gnu.org/licenses/>.
"""
from setuptools import setup
def readme():
with open('README.md') as f:
return f.read()
# Get the program version from another file.
__version__ = '0.0.0'
exec(open('falmeida_py/version.py').read())
with open('requirements.txt') as f:
required = f.read().splitlines()
setup(
name='falmeida-py',
version=__version__,
description='falmeida-py: a package to the simple distribution of my custom scripts.',
long_description=readme(),
long_description_content_type='text/markdown',
url='https://github.com/fmalmeida/pythonScripts',
author='Felipe Almeida',
author_email='[email protected]',
license='GPLv3',
packages=['falmeida_py'],
install_requires=required,
entry_points={"console_scripts": ['falmeida-py = falmeida_py.__main__:main']},
include_package_data=True,
zip_safe=False,
python_requires='>=3.6'
)