-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsetup.py
70 lines (65 loc) · 2.67 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
58
59
60
61
62
63
64
65
66
67
68
69
70
import os
import re
from setuptools import setup, find_packages
def read(*paths):
"""Build a file path from *paths* and return the contents."""
with open(os.path.join(*paths), 'r') as f:
return f.read()
__version__ = re.search(
r'__version__\s*=\s*[\'"]([^\'"]*)[\'"]',
open('afbf/__init__.py').read()).group(1)
setup(
# name of the package
name='PyAFBF',
# You can specify all the packages manually or use the find_package
# function
packages=find_packages(),
# See PEP440 for defining a proper version number
version=__version__,
# Small description of the package
description='Sample image textures from anisotropic fractional Brownian fields',
# Long description
long_description=(read('README.rst') + '\n\n' +
read('AUTHORS.rst') + '\n\n'),
# Project home page:
url='https://github.com/fjprichard/PyAFBF/',
# license, author and author email
license='GPLv3',
author='Frederic Richard',
author_email='frederic.richard@univ-amu.fr',
# If any packages contains data which are not python files, include them
# package_data={'myapp': 'data'},
install_requires=['numpy>=1.19.2', 'matplotlib>=3.3.2', 'scipy>=1.5.2'],
extras_require = {'dev': ['doctest']},
# classifiers is needed for uploading package on pypi.
# The list of classifiers elements can be found at :
# https://pypi.python.org/pypi?%3Aaction=list_classifiers
classifiers=[
'License :: OSI Approved :: GNU General Public License v3 (GPLv3)',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Intended Audience :: End Users/Desktop',
'Intended Audience :: Developers',
'Natural Language :: English',
'Operating System :: OS Independent',
'Programming Language :: Python :: 3.8',
'Topic :: Scientific/Engineering :: Image Processing',
],
project_urls={
'Documentation': 'https://fjprichard.github.io/PyAFBF/',
'Source': 'https://github.com/fjprichard/PyAFBF/',
'Tracker': 'https://github.com/fjprichard/PyAFBF/issues',
},
# What does your project relate to?
keywords={'image texture', 'anisotropic fractional Brownian field', 'simulation'},
# Platforms on which the package can be installed:
platforms='Linux, MacOSX, Windows',
# To provide executable scripts, use entry points in preference to the
# "scripts" keyword. Entry points provide cross-platform support and allow
# pip to create the appropriate form of executable for the target platform.
entry_points={
'console_scripts': [
'afbf=afbf:main',
],
},
)