-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.py
More file actions
46 lines (42 loc) · 2.05 KB
/
setup.py
File metadata and controls
46 lines (42 loc) · 2.05 KB
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
from distutils.core import setup
from os import path
with open(path.join(path.abspath(path.dirname(__file__)), 'README.rst'), encoding='utf-8') as f:
long_description = f.read()
with open('shapevolve/__init__.py') as f:
for line in f:
if line.startswith('__version__'):
_, _, version = line.replace('"', '').split()
break
setup(
name='shapevolve', # How you named your package folder (MyLib)
packages=['shapevolve'], # Chose the same as "name"
version=version, # Start with a small number and increase it with every change you make
license='MIT', # Chose a license from here: https://help.github.com/articles/licensing-a-repository
description='A genetic algorithm to recreate artworks using simple shapes, with Python 3.',
long_description=long_description,
long_description_content_type='text/x-rst',
# Give a short description about your library
author='Evan Zheng', # Type in your name
author_email='evan.ty.zheng@gmail.com', # Type in your E-Mail
url='https://richmondvan.github.io/Shapevolve/', # Provide either the link to your github or to your website
download_url=f'https://github.com/richmondvan/Shapevolve/archive/{version}.tar.gz', # I explain this later on
install_requires=[ # I get to this in a second
'opencv-python',
'matplotlib',
'numpy',
'scikit-image',
"Pillow",
"ColorThief"
],
classifiers=[
'Development Status :: 3 - Alpha',
# Chose either "3 - Alpha", "4 - Beta" or "5 - Production/Stable" as the current state of your package
'Intended Audience :: Science/Research', # Define that your audience are developers
'Topic :: Software Development',
'License :: OSI Approved :: MIT License', # Again, pick a license
'Programming Language :: Python :: 3', # Specify which pyhton versions that you want to support
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
)