Skip to content

Commit

Permalink
Update setup.py
Browse files Browse the repository at this point in the history
Clean up of setup script
  • Loading branch information
Rexeh committed Sep 16, 2020
1 parent dbb4090 commit 4616c1c
Showing 1 changed file with 4 additions and 53 deletions.
57 changes: 4 additions & 53 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import pathlib
from cx_Freeze import setup, Executable
import sys
import src.version

## Import SRC
sys.path.insert(0,'./src')
Expand Down Expand Up @@ -29,60 +30,10 @@
url='https://github.com/Rexeh/joystick-diagrams',
author='Robert Cox',
keywords='joystick, HID, diagrams, joystick gremlin',

#scripts = ['./src/joystick-diagram.py'],
# You can just specify package directories manually here if your project is
# simple. Or you can use find_packages().
#
# Alternatively, if you just want to distribute a single Python file, use
# the `py_modules` argument instead as follows, which will expect a file
# called `my_module.py` to exist:
#
# py_modules=["my_module"],
#
packages=find_packages(), # Required

# Specify which Python versions you support. In contrast to the
# 'Programming Language' classifiers above, 'pip install' will check this
# and refuse to install the project if the version does not match. See
# https://packaging.python.org/guides/distributing-packages-using-setuptools/#python-requires
packages=find_packages(),
python_requires='>=3.8, <4',

# This field lists other packages that your project depends on to run.
# Any package you put here will be installed by pip when your project is
# installed, so they must be valid existing projects.
#
# For an analysis of "install_requires" vs pip's requirements files see:
# https://packaging.python.org/en/latest/requirements.html
install_requires=['pillow'], # Optional

# List additional groups of dependencies here (e.g. development
# dependencies). Users will be able to install these using the "extras"
# syntax, for example:
#
# $ pip install sampleproject[dev]
#
# Similar to `install_requires` above, these must be valid existing
# projects.
extras_require={ # Optional
'dev': ['check-manifest'],
'test': ['coverage'],
},

# If there are data files included in your packages that need to be
# installed, specify them here.
package_data={ # Optional
'sample': ['package_data.dat'],
},

# Although 'package_data' is the preferred approach, in some case you may
# need to place data files outside of your packages. See:
# http://docs.python.org/distutils/setupscript.html#installing-additional-files
#
# In this case, 'data_file' will be installed into '<sys.prefix>/my_data'
data_files=[('my_data', ['data/data_file'])], # Optional

project_urls={ # Optional
install_requires=['pillow'],
project_urls={
'Bug Reports': 'https://github.com/Rexeh/joystick-diagrams/issues',
'Funding': 'https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=WLLDYGQM5Z39W&source=url',
'Source': 'https://github.com/Rexeh/joystick-diagrams/src',
Expand Down

0 comments on commit 4616c1c

Please sign in to comment.