Skip to content

Commit

Permalink
adding artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
v1j1 committed Oct 31, 2019
1 parent feea44b commit 226dfdf
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 0 deletions.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ MarkupSafe==1.1.0
Werkzeug==0.14.1
xmlrunner==1.7.7
wheel==0.32.2
setuptools=40.7.3
47 changes: 47 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
import os
import io
from setuptools import setup, find_packages
from os import path
from io import open

setup(
# This is the name of your project. The first time you publish this
# package, this name will be registered for you. It will determine how
# users can install this project, e.g.:
#
# $ pip install sampleproject
#
# And where it will live on PyPI: https://pypi.org/project/sampleproject/
#
# There are some restrictions on what makes a valid project name
# specification here:
# https://packaging.python.org/specifications/core-metadata/#name
name='SimpleRestApp', # Required


# To print absolute path on your system
# os.path.abspath('.')

# To print files and directories in the current directory
# on your system
# os.listdir('.')


# Versions should comply with PEP 440:
# https://www.python.org/dev/peps/pep-0440/
#
# For a discussion on single-sourcing the version across setup.py and the
# project code, see
# https://packaging.python.org/en/latest/single_source_version.html
version='1.3.0', # Required
#def __path(filename):
#return os.path.join(os.path.dirname(__file__),
# filename)

build = 0

if os.path.exists(__path('build.info')):
build = open(__path('build.info')).read().strip()

version= '0.6.{}'.format(build)
)

0 comments on commit 226dfdf

Please sign in to comment.