Skip to content

Instantly share code, notes, and snippets.

@Franck1333
Last active November 7, 2019 20:55
Show Gist options
  • Save Franck1333/7bea1d36a35021be4d85fbc1b0001e11 to your computer and use it in GitHub Desktop.
Save Franck1333/7bea1d36a35021be4d85fbc1b0001e11 to your computer and use it in GitHub Desktop.
Using a Setup.py Generator // Example of Setup.py (using set-me-up.py from https://gist.github.com/ojii/3906682 )
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#!/usr/bin/env python
# -*- coding: UTF-8 -*-
#Aides : Using set-me-up.py from https://gist.github.com/ojii/3906682 ,
#Aides : The generator "set-me-up.py" need a "__init__.py" file in the main root directorie to work .
#HOW INSTALL AND USE THIS PROJECT:
#in the console : sudo python setup.py install
#And all the depencies will be installed with the Project
from setuptools import setup, find_packages
setup(
name='TravelKit_RPI',
version="1.13",
author='Franck Rochat',
author_email='rochat.franck@gmail.com',
description='This Project give you useful details about the environement where you are by Using an USB GPS and some API with an Internet Connection',
url='https://github.com/Franck1333/TravelKit_RPI',
license='lgpl',
packages=find_packages(),
include_package_data=False,
install_requires=["pyowm","googlemaps"], #Get the Dependencies from Pypi (pip install)
dependency_links=['https://github.com/pimoroni/displayotron'], #Get the Dependencies via HTTP(s)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment