Compare commits
8 Commits
56f6527595
...
master
Author | SHA1 | Date | |
---|---|---|---|
2a0c1e8c3f | |||
e2ba4f4dcc | |||
c2543e1f88 | |||
2b2533da31 | |||
3928ef46d6 | |||
21c09018bd | |||
8b812ba10f | |||
9be3d414ba |
31
.gitlab-ci.yml
Normal file
31
.gitlab-ci.yml
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
test:smolensk15:
|
||||||
|
image: smolensk15-dev
|
||||||
|
only:
|
||||||
|
- schedules
|
||||||
|
before_script:
|
||||||
|
- "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
|
||||||
|
- apt-get update
|
||||||
|
- apt-get -y install python3-pytest python3-sphinx python3-setuptools
|
||||||
|
- git submodule sync
|
||||||
|
- git submodule update --recursive --init
|
||||||
|
script:
|
||||||
|
- "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
|
||||||
|
- make build
|
||||||
|
- make tests
|
||||||
|
|
||||||
|
test:bionic:
|
||||||
|
image: bionic-dev
|
||||||
|
only:
|
||||||
|
- schedules
|
||||||
|
before_script:
|
||||||
|
- "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
|
||||||
|
- apt-get update
|
||||||
|
- apt-get -y install python3-pytest python3-sphinx python3-setuptools
|
||||||
|
- git submodule sync
|
||||||
|
- git submodule update --recursive --init
|
||||||
|
script:
|
||||||
|
- "[ $(($(date +%s)-$(git log -1 --date=format:%s --format=%cd))) -gt 86400 ] && exit 0"
|
||||||
|
- make build
|
||||||
|
- make tests
|
||||||
|
- make html
|
||||||
|
|
7
LICENSE
Normal file
7
LICENSE
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
Public domain
|
||||||
|
|
||||||
|
All of the code and documentation has been dedicated to the public domain.
|
||||||
|
Anyone is free to copy, modify, publish, use, compile, sell, or distribute
|
||||||
|
the original code, either in source code form or as a compiled binary,
|
||||||
|
for any purpose, commercial or non-commercial, and by any means.
|
||||||
|
|
1
MANIFEST.in
Normal file
1
MANIFEST.in
Normal file
@@ -0,0 +1 @@
|
|||||||
|
include LICENSE
|
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
|||||||
all:
|
build:
|
||||||
python3 setup.py build
|
python3 setup.py build
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
6
setup.py
6
setup.py
@@ -2,14 +2,18 @@
|
|||||||
|
|
||||||
from setuptools import setup, find_packages
|
from setuptools import setup, find_packages
|
||||||
|
|
||||||
with open('README.rst') as f:
|
with open('README.rst', encoding='utf-8') as f:
|
||||||
readme = f.read()
|
readme = f.read()
|
||||||
|
|
||||||
|
with open('LICENSE', encoding='utf-8') as f:
|
||||||
|
license = f.read()
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='py3x',
|
name='py3x',
|
||||||
version='0.1.2',
|
version='0.1.2',
|
||||||
description='Sample package for Python3',
|
description='Sample package for Python3',
|
||||||
long_description=readme,
|
long_description=readme,
|
||||||
|
license=license,
|
||||||
author='Andrei Astafev',
|
author='Andrei Astafev',
|
||||||
author_email='dev@246060.ru',
|
author_email='dev@246060.ru',
|
||||||
url='https://dsp.246060.ru',
|
url='https://dsp.246060.ru',
|
||||||
|
Reference in New Issue
Block a user