-
Notifications
You must be signed in to change notification settings - Fork 13
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
v1j1
committed
Oct 31, 2019
1 parent
feea44b
commit 226dfdf
Showing
2 changed files
with
48 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,3 +6,4 @@ MarkupSafe==1.1.0 | |
Werkzeug==0.14.1 | ||
xmlrunner==1.7.7 | ||
wheel==0.32.2 | ||
setuptools=40.7.3 |
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,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) | ||
) |