forked from gaia-boat/control
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c481bc8
commit 39a00cc
Showing
9 changed files
with
175 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
convention: none |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /bin/bash | ||
|
||
python3 setup.py sdist bdist_wheel | ||
|
||
if [ "$1" == "test" ]; then | ||
twine upload --repository-url https://test.pypi.org/legacy/ dist/* --verbose -u $TWINE_USERNAME -p $TWINE_PASSWORD_TEST --skip-existing | ||
fi | ||
|
||
if [ "$1" == "deploy" ]; then | ||
twine upload dist/* --verbose -u $TWINE_USERNAME -p $TWINE_PASSWORD --skip-existing | ||
fi |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#! /bin/bash | ||
|
||
pip3 install -e . |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
import os | ||
import codecs | ||
from os import path | ||
from setuptools import setup | ||
from setuptools import find_packages | ||
from pip._internal.req import parse_requirements | ||
|
||
here = path.abspath(path.dirname(__file__)) | ||
|
||
with open(os.path.join(os.path.dirname(__file__), 'README.md')) as readme: | ||
README = readme.read() | ||
|
||
# allowes setup.py to be run from any path | ||
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir))) | ||
|
||
# parse_requirements() returns generator of pip.req.InstallRequirement objects | ||
INSTALL_REQS = parse_requirements('requirements.txt', session='hack') | ||
|
||
# reqs is a list of requirements | ||
REQUIREMENTS = [str(ir.req) for ir in INSTALL_REQS] | ||
|
||
CLASSIFIERS = [ | ||
"Development Status :: 5 - Production/Stable", | ||
"Intended Audience :: Everyone", | ||
"Natural Language :: Portuguese", | ||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", | ||
"Operating System :: OS Independent", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: Implementation :: CPython", | ||
"Programming Language :: Python :: Implementation :: PyPy", | ||
"Topic :: Software Development :: Libraries :: Python Modules", | ||
] | ||
|
||
setup( # pragma: no cover | ||
name='', | ||
description="", # nopep8 | ||
url='', | ||
long_description=codecs.open('README.md', 'rb', 'utf8').read(), | ||
long_description_content_type='text/markdown', | ||
author='Gaia boat group', | ||
author_email='', | ||
version=codecs.open('VERSION.txt', 'rb', 'utf8').read(), | ||
packages=find_packages(), | ||
keywords=['gaia', 'boat', 'pi2'], | ||
# entry_points={ | ||
# 'console_scripts': [ | ||
# 'ezissue = ezissue.ezissue:main' | ||
# ] | ||
# }, | ||
install_requires=REQUIREMENTS, | ||
license='GNU', | ||
classifiers=CLASSIFIERS, | ||
) |
Empty file.