forked from thenewboston-blockchain/thenewboston-python
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.py
More file actions
24 lines (19 loc) · 645 Bytes
/
setup.py
File metadata and controls
24 lines (19 loc) · 645 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- coding: utf-8 -*-
import re
from setuptools import find_packages, setup
with open('README.md', encoding='utf-8') as f:
long_description = f.read()
with open('requirements.txt', encoding='utf-8') as f:
requirements = f.read().splitlines()
with open('src/thenewboston/__init__.py', encoding='utf8') as f:
version = re.search(r'__version__ = \'(.*?)\'', f.read()).group(1)
setup(
install_requires=requirements,
long_description=long_description,
long_description_content_type='text/markdown',
name='thenewboston',
packages=find_packages(
exclude=['tests', 'tests.*']
),
version=version,
)